small pixel drawing of a pufferfish j3s.sh

set fields to required
Jesse Olson j3s@c3f.net
Fri, 11 Feb 2022 07:23:20 +0000
commit

282c84c753aaaaf1e5a4f28f7186e7327bd4570e

parent

f153148ea4fb8cbbe67a395b66e7429a0d6a84ff

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M templates/age.htmltemplates/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 }}