diff options
-rw-r--r-- | root/user/index.tt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/root/user/index.tt b/root/user/index.tt index abd3a3a..3307e4e 100644 --- a/root/user/index.tt +++ b/root/user/index.tt @@ -13,10 +13,10 @@ [% val %] <br/> [% END %] - </td> - <td> + </td> + <td> [% IF attr.addable AND attr.editable %] - <button type="button" onclick="location='/user/add/[% attr.name %]'">[% l('Add') %]</button> + <button type="button" onclick="location='/user/add/[% attr.name %]'">[% l('Add') %]</button> [% END %] [% IF attr.removable AND attr.editable %] <button type="button" onclick="location='/user/delete/[% attr.name %]/[% val %]'">[% l('Delete') %]</button> @@ -25,9 +25,9 @@ </td> </tr> [% END %] - <tr> - <td colspan="3" style="text-align:center;"><button type="Submit" value="[% l('Update') %]">[% l('Update') %]</button></td> - </tr> + <tr> + <td colspan="3" style="text-align:center;"><button type="Submit" value="[% l('Update') %]">[% l('Update') %]</button></td> + </tr> </table> </form> </div> @@ -41,7 +41,7 @@ [% FOREACH attr IN may %] <option value="[% attr %]">[% attr %]</option> [% END %] - </select> + </select> <input name="value" value="" /> |