% rebase('base.tpl', title='')

Donation address is: {{current_address}}
<br>
Current payout is: {{symbol}}{{current_payout}}
<br>
<form action="/payout" method="post">
Address: <input name="addr" type="text" />

{{!captcha_html}}

<input value="payout" type="Submit">
</form>


% rebase('base.tpl', title='')

Donation address is: {{current_address}}
<br>
Current payout is: {{symbol}}{{current_payout}}
<br>
<form action="/payout" method="post">
Address: <input name="addr" type="text" />

{{!captcha_html}}

<input value="payout" type="Submit" {{current_payout and ' ' or 'disabled'}}>
</form>


Disable payout button if payout is zero
Disable payout button if payout is zero

Discourage people from hitting buttons that don't do anything.
