]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/orga/AffiliationForm.templ
add: HTML5-defined 'required' attributes on mandatory input fields
[gigi.git] / src / org / cacert / gigi / pages / orga / AffiliationForm.templ
index 7a1c84fcdbec412ef245a16fcdff3304335b55ef..84be5cc4d6f5f257392583615f4503c10aa08522 100644 (file)
@@ -1,4 +1,4 @@
-<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper dataTable">
+<table class="table">
   <tr>
     <th><?=_Name?></th>
     <th><?=_Email?></th>
@@ -15,8 +15,8 @@
 <? } ?>
   <tr>
     <td></td>
-    <td><input type="text" name="email"></td>
+    <td><input class="form-control" type="text" name="email" required></td>
     <td><input type="checkbox" name="master" value="y"></td>
-    <td><input type="submit" name="do_affiliate" value="<?=_Add?>"><input type='hidden' name='affiliate' value='y'></td>
+    <td><input type="submit" name="do_affiliate" value="<?=_Add?>"></td>
   </tr>
 </table>