]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/MyDetailsForm.templ
fix: correct editable/non-editable DoB display in My Details
[gigi.git] / src / org / cacert / gigi / pages / account / MyDetailsForm.templ
index fe0bcfb173a8cbaeeb85a664f98379d2e7fad13a..55b9162856a45fa49a0e531b15648e18a4ab5cdd 100644 (file)
@@ -2,19 +2,7 @@
   <div class="panel-heading"><?=_Date of Birth?></div>
   <div class="panel-body">
    <?=$DoB?>
+   <button class="btn btn-primary pull-right" name="action" value="updateDoB"><?=_Update Date of Birth?></button>
   </div>
 </div>
-
-<table class="table">
-  <tbody>
-  <tr>
-    <td><?=_Date of Birth?><br>
-           (<?=_yyyy-mm-dd?>)</td>
-    <td><?=$DoB?></td>
-    <td><button class="btn btn-primary" name="action" value="updateDoB"><?=_Update Date of Birth?></button></td>
-  </tr>
-  <tr>
-    <td colspan="3" class="title"><a href="/account/history"><?=_Show account history?></a></td>
-  </tr>
-  </tbody>
-</table>
+<a href="/account/history"><?=_Show account history?></a>