HTML validation.
authorStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:25:24 +0000 (15:25 +0100)
committerStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:25:24 +0000 (15:25 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/admin/add_accounts.tpl

index 83966f6..a09605a 100644 (file)
 
 {else}
 <form action="{$platal->pl_self()}" method="post">
-<input type="hidden" name="add_type" value="{$add_type}" />
-<table class="tinybicol">
+<table class="tinybicol" style="margin-bottom: 1em">
   <tr>
     <td class="center">
       <strong>Promotion&nbsp;:</strong>
       <input type="text" name="promotion" size="4" maxlength="4" />
+      <input type="hidden" name="add_type" value="{$add_type}" />
     </td>
   </tr>
 {if $add_type eq 'promo'}
@@ -75,7 +75,6 @@
     </td>
   </tr>
 </table>
-<br />
 <table class="bicol">
   <tr>
     <td>Nom</td>