- Timestamp:
- 03/26/09 18:38:08 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Vote/Controller/Ballot.pm
r110 r115 50 50 $c->delete_session('invalid user/pass'); 51 51 $c->stash->{template} = 'ballot/login.tt'; 52 if (defined($c->req->param('password'))) { 53 $c->stash->{login_failure} = 1; 54 } 52 55 return; 53 56 } -
trunk/root/templates/ballot/login.tt
r47 r115 2 2 3 3 <div id="login" class="login_box"> 4 [% IF login_failure %] 5 <p class="alert">Mauvais login et/ou mot de passe. Etes-vous sur les listes électorales ?</p> 6 [% END %] 4 7 <p>Veuillez vous authentifier pour voter:</p> 5 8 <form action="[% c.uri_for(voteid) %]" method="POST">
Note: See TracChangeset
for help on using the changeset viewer.