source: LATMOS-Accounts-Web/root/html/users/default.tt @ 111

Last change on this file since 111 was 111, checked in by nanardon, 15 years ago
  • add form module
  • Property svn:keywords set to Id Rev
File size: 479 bytes
Line 
1<!-- $Id$ -->
2[% IF NOT user %]
3No user [% username | html %] found.
4[% ELSE %]
5[% form = c.model('AttrForms', 'user_main', user) %]
6
7[% FOREACH attr =  form.attributes %]
8[% IF loop.first %]
9<form action="[% c.uri_for(username) | html %]" method="POST">
10<table border=1>
11[% END %]
12<tr><td>[% form.attr_label(attr) %]</td><td>[% form.attr_field(attr) %]</td><br>
13[% IF loop.last %]
14<tr><td colspan=2><input type="submit"></td></tr>
15</table>
16</form>
17[% END %]
18[% END %]
19[% END %]
Note: See TracBrowser for help on using the repository browser.