Last change
on this file since 144 was
144,
checked in by nanardon, 15 years ago
|
- make AttrForm? model usable also for object creation
|
-
Property svn:keywords set to
Id Rev
|
File size:
808 bytes
|
Line | |
---|
1 | <!-- $Id$ --> |
---|
2 | [% IF step %] |
---|
3 | <form action="[% c.uri_for('/create', 'user') %]" method="POST"> |
---|
4 | <input type="hidden" name="step" value="2"> |
---|
5 | Login: <input type="text" name="id" value="[% c.req.param('id') | html %]"><br> |
---|
6 | Nom: <input type="text" name="sn" value="[% c.req.param('sn') | html %]"><br> |
---|
7 | Prenom: <input type="text" name="givenName" value="[% c.req.param('givenName') | html %]"><br> |
---|
8 | GID: <input type="text" name="gidNumber" value="[% c.req.param('gidNumber') | html %]"><br> |
---|
9 | <input type="submit"> |
---|
10 | </form> |
---|
11 | |
---|
12 | [% ELSE %] |
---|
13 | <form action="[% c.uri_for('/create', 'user') %]" method="POST"> |
---|
14 | <input type="hidden" name="step" value="1"> |
---|
15 | [% form.attr_label('sn') %] [% form.attr_field('sn') %]<br> |
---|
16 | [% form.attr_label('givenName') %] [% form.attr_field('givenName') %]<br> |
---|
17 | <input type="submit"> |
---|
18 | </form> |
---|
19 | |
---|
20 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.