source: trunk/root/templates/default.tt @ 385

Last change on this file since 385 was 323, checked in by nanardon, 14 years ago
  • proof reading from Ahmad Samir
  • Property svn:keywords set to Id Rev
File size: 924 bytes
Line 
1<!-- $Id$ -->
2[% vote = c.model('Vote') %]
3
4<div style="float: right; width: 33%;" class="reminder">
5<form action="[% c.uri_for %]" method="POST">
6[% IF novoting %]
7<p class="warning">[% l('You don\'t own any polls') %] [% novoting | html %].</p>
8[% END %]
9[% IF sendvoting %]
10[% l('An email has been sent to [_1]', sendvoting) %]
11[% END %]
12
13<p>[% l('Enter your email address to receive a list of your polls') %]</p>
14<input type="text" name="mailvoting" class="reminder">
15<input type="submit" class="reminder" value=">">
16</form>
17</div>
18
19[% FOREACH p = c.session.mypoll.keys %]
20[% poll = vote.poll(p) %]
21[% IF loop.first %]
22<p>[% l('My polls:') %]</p>
23<ul>
24[% END %]
25<li><a href="[% c.uri_for('/vote', poll.uid) %]">[% poll.info.label | html %]</a>
26[% IF c.session.mypoll.$p %]
27    <a href="[% c.uri_for('/admin', poll.uid) %]"><i>[% l('administrate') %]</i></a>
28[% END %]
29</li>
30[% IF loop.last %]
31</ul>
32[% END %]
33
34[% END %]
Note: See TracBrowser for help on using the repository browser.