]> projects.mako.cc - selectricity/blob - app/views/quickvote/thanks.rhtml
Streamlined some graphign contorller methods and took out the 'voters_per_day' method...
[selectricity] / app / views / quickvote / thanks.rhtml
1 <% %>
2 <h1>Vote Recorded</h1>
3 <p>Your vote has been recorded with the following ranked
4 preferences:</p>
5
6 <ol>
7   <% for rank in @voter.vote.rankings.sort %>
8     <li><%= rank.candidate.name.capitalize %> </li>
9   <% end %>
10 </ol>
11
12 <p>Thanks you voting! You can:</p>
13
14 <ul>
15   <li><%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %></li>
16
17   <li><%= link_to "View Current Results", quickaction_url( :ident => @voter.election.name, :action => 'results' ) %></li>
18 </ul>
19
20
21
22
23

Benjamin Mako Hill || Want to submit a patch?