Changeset 280 for trunk/root/templates/admin/ballot.tt
- Timestamp:
- 12/19/09 11:44:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/ballot.tt
r267 r280 8 8 <table border=1> 9 9 <tr> 10 <td> Nombre de choix possible:</td>10 <td>[% l('Number of possible choice:') %]</td> 11 11 <td><input type="text" size="3" name="choice_count" value="[% c.req.param('choice_count') || poll.info('choice_count') | html %]"></td> 12 12 </tr> 13 13 14 14 <tr> 15 <td>Nombre d'élu(s)<br>(si différent du nombre de choix)</td> 15 <td>[% l('Number of elected people') %]<br> 16 ([% l('if different of number of choice') %]) 17 </td> 16 18 <td><input type="text" size="3" name="elected_count" value="[% c.req.param('elected_count') || poll.raw_info('elected_count') | html %]"></td> 17 19 </tr> 18 20 19 21 <tr> 20 <td> Nombre de choix libres:</td>22 <td>[% l('Number of free input:') %]</td> 21 23 <td><input type="text" size="3" name="free_choice" value="[% c.req.param('free_choice') || poll.info('free_choice') || 0 | html %]"></td> 22 24 </tr> 23 25 24 26 <tr> 25 <td> Nombre de choix à partir de la liste des électeurs:</td>27 <td>[% l('Number of input from voting list') %]</td> 26 28 <td><input type="text" size="3" name="elected_choice" value="[% c.req.param('elected_choice') || poll.info('elected_choice') || 0 | html %]"></td> 27 29 </tr> 28 30 29 31 </table> 30 <input type="submit" name="pollballot" value=" Enregistrer">32 <input type="submit" name="pollballot" value="[% l('save') %]"> 31 33 </form> 32 34 … … 34 36 35 37 [% IF ! poll.choices_keys.size %] 36 <p class="alert"> Aucun choix configuré</p>38 <p class="alert">[% l('No choice are configured') %]</p> 37 39 [% ELSE %] 38 40 [% FOREACH choicek = poll.choices_keys %] … … 41 43 [% loop.count %] - [% choice.info.label | html %] 42 44 <input type="hidden" name="delch" value="[% choicek %]"> 43 <input type="submit" name="del" value=" Effacer">45 <input type="submit" name="del" value="[% l('delete') %]"> 44 46 </form> 45 47 <br> … … 47 49 [% END %] 48 50 <form action="[% c.uri_for(poll.uid, 'ballot') %]" method="POST"> 49 Ajouter un choix:<br>51 [% l('Add a choice') %]<br> 50 52 <input type="text" name="addch"> 51 <input type="submit" value=" Ajouter">53 <input type="submit" value="[% l('Add') %]"> 52 54 </form> 53 55 </div> 54 56 55 57 <div style="float: right; width: 30%" class="ballot"> 56 <p> Prévisualisation du bulletin:</p>58 <p>[% l('Preview of ballot') %]</p> 57 59 [% INCLUDE 'includes/ballot_form.tt' b_form_url = c.uri_for(poll.uid, 'ballot') %] 58 60 </div>
Note: See TracChangeset
for help on using the changeset viewer.