]> projects.mako.cc - scuttle/blobdiff - templates/register.tpl.php
- Enforce minimum elapsed time on registration form
[scuttle] / templates / register.tpl.php
index 8629ec2bcb8edc1ddf99f471a447b0ca07bcd39b..43481161b19bc6ca41e429507d19b1ea9f8ef273 100644 (file)
@@ -5,24 +5,29 @@
 <form action="<?php echo $formaction; ?>" method="post">
 <table>
 <tr>
-    <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
-    <td><input type="text" id="username" name="username" size="20" class="required" /></td>
-    <td id="availability"></td>
+  <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
+  <td><input type="text" id="username" name="username" size="20" class="required" /></td>
+  <td id="availability"></td>
 </tr>
 <tr>
-    <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
-    <td><input type="password" id="password" name="password" size="20" class="required" /></td>
-    <td></td>
+  <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
+  <td><input type="password" id="password" name="password" size="20" class="required" /></td>
+  <td></td>
 </tr>
 <tr>
-    <th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
-    <td><input type="text" id="email" name="email" size="40" class="required" /></td>
-    <td></td>
+  <th align="left"><label for="passconf"><?php echo T_('Confirm Password'); ?></label></th>
+  <td><input type="password" id="passconf" name="passconf" size="20" class="required" /></td>
+  <td></td>
 </tr>
 <tr>
-    <td></td>
-    <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td>
-    <td></td>
+  <th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
+  <td><input type="text" id="email" name="email" size="40" class="required" /></td>
+  <td></td>
+</tr>
+<tr>
+  <td><input type="hidden" name="token" value="<?php echo $token; ?>" /></td>
+  <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td>
+  <td></td>
 </tr>
 </table>
 </form>

Benjamin Mako Hill || Want to submit a patch?