set fields to required
Jesse Olson j3s@c3f.net
Fri, 11 Feb 2022 07:23:20 +0000
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
templates/age.html
→
templates/age.html
@@ -10,9 +10,9 @@ <h1>age form</h1>
<p>use this form to encrypt age data for people, if you want. my public key is <pre>age12amwzaps3lfy5y7kup5h730d2alfcpxlrnahgxv7u4a877hl9c8s6h2wuf</pre></p> <form method="POST"> <label>age public key</label><br /> - <input type="text" name="pubkey" size="60"><br /> + <input type="text" name="pubkey" size="60" required><br /> <label>text to encrypt</label><br /> - <textarea name="message" rows="10" cols="60"></textarea><br /> + <textarea name="message" rows="10" cols="60" required></textarea><br /> <input type="submit"> </form> {{ end }}