Show sat balance in order form
This commit is contained in:
parent
555e8f0767
commit
530f87304b
|
@ -10,6 +10,8 @@
|
|||
<input v-model="side" true-value="SELL" false-value="BUY" type="checkbox" name="side" class="m-1" />
|
||||
</div>
|
||||
<form v-if="side === 'BUY'" v-show="showForm" @submit.prevent="submitBuyForm">
|
||||
<label v-if="session.isAuthenticated" for="msats">you have:</label>
|
||||
<label v-if="session.isAuthenticated" name="msats">{{ session.msats / 1000 }} sats</label>
|
||||
<label for="stake">how much?</label>
|
||||
<input name="stake" v-model="stake" type="number" min="0" placeholder="sats" required />
|
||||
<label for="certainty">how sure?</label>
|
||||
|
|
Loading…
Reference in New Issue