]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/domain/DomainAddForm.templ
add: HTML5-defined 'required' attributes on mandatory input fields
[gigi.git] / src / org / cacert / gigi / pages / account / domain / DomainAddForm.templ
index 9c6de6b51888444173b61219ae34c7ecb7bff1fd..94e04edc07653b416e4baef698117bab43ab674e 100644 (file)
@@ -1,4 +1,4 @@
-<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper dataTable">
+<table class="table">
   <thead>
   <tr>
     <th colspan="2" class="title"><?=_Add Domain?></th>
@@ -7,7 +7,7 @@
 <tbody>
   <tr>
     <td><?=_Domain?> </td>
-    <td><input type="text" name="newdomain" value=""> (<?=_In the following:?> <span class='exampleDomainPlace'>example.org</span>)</td>
+    <td><input class="form-control" type="text" name="newdomain" value="" required> (<?=_In the following:?> <span class='exampleDomainPlace'>example.org</span>)</td>
   </tr>
   <?=$pingconfig?>
   <tr>