source: trunk/LATMOS-Accounts-Web/root/html/includes/form.tt @ 1273

Last change on this file since 1273 was 1211, checked in by nanardon, 12 years ago

display improvement

  • Property svn:keywords set to Id
File size: 693 bytes
Line 
1<!-- $Id$ -->
2
3[% attributes = form.attributes() %]
4[% IF attributes.0 %]
5[% FOREACH attr =  attributes %]
6[% IF loop.first %]
7<h2>
8    [% form.label | html %]:
9</h2>
10<form action="[% form_uri | html %]" method="POST">
11<table border=1>
12[% END %]
13<tr>
14    <th>
15        [% form.attr_label(attr) %]
16        [% IF form.attr_hint(attr) %]
17        <span
18            title="[% form.attr_hint(attr) | html %]"
19            class="hint">?</span>
20        [% END %]
21    </th>
22    <td>[% form.attr_field(attr) %]</td>
23</tr>
24[% IF loop.last %]
25[% IF form.write_attributes %]
26<tr><td colspan=2>[% form.submit %]</td></tr>
27[% END %]
28</table>
29</form>
30[% END %]
31[% END %]
32[% ELSE %]
33[% perm_denied %]
34[% END %]
Note: See TracBrowser for help on using the repository browser.