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

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