-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.tmpl
39 lines (38 loc) · 990 Bytes
/
form.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[% form1.jshead %]
<body onLoad="document.forms[0].reference.focus()" />
<table width=100%>
<tr><th class=listtop>[% form1.title %]</th></tr>
<tr height="5"></tr>
<tr>
<td align="top">
[% form1.start %]
<table>
<tr valign="top">
<td><table>
[% i = 1 %]
[% FOREACH field = form1.fields %]
<tr valign="top">
<th align="right">[% field.required ? "$field.label *" : field.label %]</th>
<td>
[% IF field.invalid %]
Missing or invalid entry, please try again.<br/>
[% END %]
[% field.field %]
</td>
</tr>
[% IF i == 15 OR i == 30 OR i == 45 %]
</table></td><td><table>
[% END %]
[% i = i + 1 %]
[% END %]
</td></table>
</tr>
</table>
</td>
</tr>
</table>
<hr size=3 noshade />
[% form1.submit %] [% form1.reset %]
[% form1.end %]
</body>
</html>