Commit 36af3002 authored by Matt Lee's avatar Matt Lee

make fields required

parent 626162a6
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
</div> </div>
{/if} {/if}
<input type="text" class="form-control" placeholder="{t}Your username:{/t}" id="username" name="username" /> <input type="text" class="form-control" placeholder="{t}Your username:{/t}" id="username" name="username" required autofocus />
<input type="text" class="form-control" placeholder="{t}Your e-mail:{/t}" id="email" name="email" /> <input type="text" class="form-control" placeholder="{t}Your e-mail:{/t}" id="email" name="email" required />
<input type="password" class="form-control" placeholder="{t}Your password:{/t}" id="password" name="password" /> <input type="password" class="form-control" placeholder="{t}Your password:{/t}" id="password" name="password" required />
<input type="password" class="form-control" placeholder="{t}Your password again:{/t}" id="password-repeat" name="password-repeat" /> <input type="password" class="form-control" placeholder="{t}Your password again:{/t}" id="password-repeat" name="password-repeat" required />
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" value="remember-me" name="foo-check"> {t}I read this form carefully, and double-checked my email address first, honest.{/t} <input type="checkbox" value="remember-me" name="foo-check"> {t}I read this form carefully, and double-checked my email address first, honest.{/t}
</label> </label>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment