commit def18a1895bd47dbd4a98526c24ccf5ed08ff2a6
parent 352ad9b2b8135b8f3319ddde80c264e7e9960250
Author: nickfarrow <nick@nickfarrow.com>
Date: Thu, 27 May 2021 13:58:23 +1000
No blank donations!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/donate.html b/templates/donate.html
@@ -48,7 +48,7 @@
<center>
<form id="pay" action='/pay' style="margin:0;padding0;">
<h2 style="margin:0;padding0;">Amount:
- <input style="display:inline" size="4" type="float" name="amount" id="amount" placeholder="USD">
+ <input style="display:inline" size="4" type="float" name="amount" id="amount" placeholder="USD" required>
</h2>
<br>
<input class="button button1" style="width:40%" type="submit" value="Donate">