flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit b9e66276e699787e46e8e366d66e3c668447804f
parent aa3a622afdb7e9d30b464b78cc40d0aa728ea96c
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 26 Jan 2021 19:42:25 -0800

Add requird fields to register page

Diffstat:
Mtemplates/register.html | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/templates/register.html b/templates/register.html @@ -8,23 +8,24 @@ name="username" size="27" type="text" + required value="" />.{{.Config.Host}} </div> <div> <label for="email">Email</label> <br> - <input id="email" name="email" size="27" type="text" value="" /> + <input id="email" name="email" size="27" type="text" required value="" /> </div> <div> <label for="password">Password</label> <br> - <input id="password" name="password" size="27" type="password" value="" /> + <input id="password" name="password" size="27" type="password" required value="" /> </div> <div> <label for="password2">Repeat Password</label> <br> - <input id="password2" name="password2" size="27" type="password" value="" /> + <input id="password2" name="password2" size="27" type="password" required value="" /> </div> <label for="reference">How did you find Flounder? Did an existing user invite you, if so, whom? Could you provide a link to your website or social media?</label> - <textarea id="reference" name="reference" class="textform" rows=4></textarea> + <textarea id="reference" name="reference" class="textform" rows=4 required></textarea> <div class="error">{{ range .Errors}}{{.}}<br>{{end}} </div> <div> <input