flounder

A simple gemini site builder
git clone git://git.alexwennerberg.com/flounder
Log | Files | Refs | README | LICENSE

register.html (1282B) - raw


      1 {{template "header" .}}
      2 <h1>Register</h1>
      3 <form action="/register" method="post">
      4   <div>
      5     <label for="username">Username</label><br>
      6     <input
      7       id="username"
      8       name="username"
      9       size="27"
     10       type="text"
     11       required
     12       value=""
     13     />.{{.Config.Host}}
     14   </div>
     15   <div>
     16     <label for="email">Email</label> <br>
     17     <input id="email" name="email" size="27" type="text" required value="" />
     18   </div>
     19   <div>
     20     <label for="password">Password</label> <br>
     21     <input id="password" name="password" size="27" type="password" required value="" />
     22   </div>
     23   <div>
     24     <label for="password2">Repeat Password</label> <br>
     25     <input id="password2" name="password2" size="27" type="password" required value="" />
     26   </div>
     27   <label for="reference">How did you hear about {{.Config.SiteTitle}}?</label>
     28   <textarea id="reference" name="reference" class="textform" rows=4 required></textarea>
     29   <p>
     30   Your account will be approved by the admin before you can log in. I should get back to you within a day at the email you provided.
     31   </p>
     32   <div class="error">{{ range .Errors}}{{.}}<br>{{end}} </div>
     33   <div>
     34     <input
     35       class="button"
     36       id="submit"
     37       name="submit"
     38       type="submit"
     39       value="Join"
     40     />
     41   </div>
     42 </form>
     43 {{template "footer" .}}