akyuu/templates/signupform.html

33 行
1.3 KiB
HTML

{{ template "header" }}
<form method="post" action="signup">
<h1>Create account</h1>
<label for="name">Name</label>
<input type="text" id="name" name="name" maxlength="140" aria-describedby="name-desc" pattern="[a-zA-Z0-9_]{1,140}" required />
<p id="name-desc">Legal characters: A-Z, a-z, 0-9, _ (<abbr title="maximum">max.</abbr> 140)</p>
<label for="mail">E-mail address <span>(optional)</span></label>
<input type="email" id="mail" name="mail" aria-describedby="mail-desc"/>
<p id="mail-desc">Used for password reset and feed owner authentication.</p>
<label for="secquestion">Security question <span>(optional)</span></label>
<input type="text" id="secquestion" name="secquestion" aria-describedby="secquestion-desc" />
<p id="secquestion-desc">To pose on password reset request.</p>
<label for="secanswer">Security question answer <span>(optional)</span></label>
<input type="text" id="secanswer" name="secanswer" />
<label for="password">Password</label>
<input type="password" id="password" name="new_password" required />
<label for="password2">Password <span>(repeat)</span></label>
<input type="password" id="password2" name="new_password2" required />
<hr />
<button type="submit">Sign up</button>
</form>
{{ template "footer" }}