Last change
on this file since 795 was
795,
checked in by nanardon, 14 years ago
|
- online check gidNumber is free when creating group
|
-
Property svn:keywords set to
Id Rev
|
File size:
1.1 KB
|
Rev | Line | |
---|
[217] | 1 | <!-- $Id$ --> |
---|
[246] | 2 | <div class="objectform" id="objectform"> |
---|
[217] | 3 | <form action="[% c.uri_for('/create', 'group') %]" method="POST"> |
---|
| 4 | <table border="0"> |
---|
| 5 | <tr><td>[% IF idexists %]<img src="[% c.uri_for('/static', 'icons', 'dialog-cancel.png') %]">[% END %] |
---|
[681] | 6 | Nom:</th><td><input type="text" name="id" id="name" value="[% c.req.param('id') | html %]"> |
---|
| 7 | <span id="name_validity"></span> |
---|
| 8 | </td></tr> |
---|
| 9 | [% c.prototype.observe_field('name', { |
---|
| 10 | url => c.uri_for('/ajax', 'check_new_name', 'group'), |
---|
| 11 | with => "'val='+value", |
---|
| 12 | update => 'name_validity', |
---|
| 13 | frequency => 1, |
---|
| 14 | min_chars => 1, |
---|
| 15 | }) %] |
---|
[217] | 16 | <tr><td>[% form.attr_label('description') %]</td><td>[% form.attr_field('description') %]</td></tr> |
---|
| 17 | <input type="hidden" name="step" value="1"> |
---|
[795] | 18 | <tr><td>[% form.attr_label('gidNumber') %]</td><td> |
---|
| 19 | [% form.attr_field('gidNumber') %] |
---|
| 20 | </td></tr> |
---|
[217] | 21 | <tr><td>[% form.attr_label('sutype') %]</td><td>[% form.attr_field('sutype') %]</td></tr> |
---|
| 22 | <tr><td>[% form.attr_label('exported') %]</td><td>[% form.attr_field('exported') %]</td></tr> |
---|
| 23 | <tr><td colspan="2"><input type="submit"></td></tr> |
---|
| 24 | </table> |
---|
| 25 | |
---|
| 26 | </form> |
---|
[246] | 27 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.