]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/PasswordResetForm.templ
add: HTML5-defined 'required' attributes on mandatory input fields
[gigi.git] / src / org / cacert / gigi / pages / PasswordResetForm.templ
index 7193a3a48cd85b32d2d076a70efdccbb703a8a94..b43e9152040f4d8403f232122b797c1e422b1db1 100644 (file)
@@ -1,4 +1,4 @@
-<table class="wrapper dataTable">
+<table class="table">
   <thead>
   <tr>
     <th colspan="2" class="title"><?=_Change Pass Phrase?></th>
@@ -7,18 +7,18 @@
   <tbody>
   <tr>
     <td><?=_Password reset token (A-Word)?>: </td>
-    <td><input type="password" name="private_token"></td>
+    <td><input type="password" name="private_token" required></td>
   </tr>
   <tr>
     <td><?=_New Pass Phrase?><span class="formMandatory">*</span>: </td>
-    <td><input type="password" name="pword1"></td>
+    <td><input type="password" name="pword1" required></td>
   </tr>
   <tr>
     <td><?=_Pass Phrase Again?><span class="formMandatory">*</span>: </td>
-    <td><input type="password" name="pword2"></td>
+    <td><input type="password" name="pword2" required></td>
   </tr>
   <tr>
-    <td colspan="2"><span class="formMandatory">*</span><?=_Please note, in the interests of good security, the pass phrase must be made up of an upper case letter, lower case letter, number and symbol (all white spaces at the beginning and end are removed).?></td>
+    <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. Learn more in our !'<a href="http://wiki.cacert.org/wiki/FAQ" target="_new">'FAQ!'</a>'.?></td>
   </tr>
   <tr>
     <td colspan="2"><input type="submit" name="process" value="<?=_Update Pass Phrase?>"></td>