Last change
on this file since 307 was
306,
checked in by nanardon, 14 years ago
|
- fill form fields if site password is worng
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | <div id="poll_request" class="page_box"> |
---|
2 | <p>Créer un nouveau vote:</p> |
---|
3 | |
---|
4 | <form action="[% c.uri_for() %]" method="POST"> |
---|
5 | <center> |
---|
6 | <table border="0"> |
---|
7 | <tbody align="center"> |
---|
8 | <tr><th>votre mail:</th><td><input type="text" name="mail" value="[% c.req.param('mail') | html %]" tabindex="1" size="45" maxlength="150"></td></tr> |
---|
9 | <tr><th>nom du vote:</th><td><input type="text" name="label" value="[% c.req.param('label') | html %]" tabindex="2" size="45" maxlength="150"></td></tr> |
---|
10 | [% IF c.config.newpollpasswd %] |
---|
11 | <tr><th>mot de passe pour ce vote:</th><td><input type="password" name="vpasswd" value="[% c.req.param('vpasswd') | html %]" tabindex="3"></td></tr> |
---|
12 | [% IF passwderror %] |
---|
13 | <tr><td colspan="2" class="alert"> |
---|
14 | Mot de passe site invalide |
---|
15 | </td></tr> |
---|
16 | [% END %] |
---|
17 | <tr><th>mot de passe site:</th><td><input type="password" name="passwd" tabindex="4"></td></tr> |
---|
18 | [% END %] |
---|
19 | <!-- Cf http://forge.ipsl.jussieu.fr/epoll/ticket/1 |
---|
20 | <tr><th>mot de passe:</th><td><input type="password" name="vpasswd"></td></tr> |
---|
21 | --> |
---|
22 | <tr><td></td><td><input type="submit" tabindex="3"></td></tr> |
---|
23 | </tbody> |
---|
24 | </table> |
---|
25 | </center> |
---|
26 | </form> |
---|
27 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.