sportsbet-mobile
Version:
Sportsbet mobile
47 lines (43 loc) • 2.06 kB
HTML
<template name="withdraw">
{{withdrawCooldownCheck}}
{{canWithdrawCheck}}
<section class="deposit">
<div class="container">
{{> bankingTabs 'withdraw'}}
{{#if canWithdraw}}
<h2>Transfer Bitcoins to your wallet address. <br> <b> You have {{balance}} mBTC available </b></h2>
{{#with activeBonus}}
As you have an active bonus, there is also {{{format totalBalance bonus.fetch.currency}}}
locked, which can be released by playing through your bonus, or forfeiting the bonus.
<a href="/profile/bonus">Click here for details</a>.
{{/with}}
<form>
{{#with successMessage}}
<div class="alert alert-success">
{{this}}
</div>
{{/with}}
{{#with errorMessage}}
<div class="alert alert-error">
{{this}}
</div>
{{/with}}
<span>Your Bitcoin Address:</span>
<input type="text" placeholder="Enter your bitcoin address" name="address" />
<span>Amount m฿:</span>
<input type="number" step="any" placeholder="Enter the amount to withdraw" name="amount" />
{{#if otpEnabled}}
<input type="text" placeholder="Google authenticator code" name="otp" />
{{/if}}
<input type="submit" class="btn {{#if wdButtonDisabled}}wd-disabled{{/if}}" value="Withdraw" />
<div class="generalError"></div>
</form>
{{else}}
<div style="width: 80%; margin-left: 100px; margin-top: 36px; font-weight: bold" class="alert alert-danger">
You can not make a withdrawal for 48 hours after you change your password. Cooldown
remaining {{withdrawCooldown}}
</div>
{{/if}}
</div>
</section>
</template>