]> projects.mako.cc - selectricity/blob - app/views/quickvote/thanks.rhtml
Fix testcases and also fix errors the testcase brought up
[selectricity] / app / views / quickvote / thanks.rhtml
1 <div id="page-title">
2   <span class="header">Quickvote</span>
3   <span class="subheader">Vote Recorded Successfully</span>
4 </div>
5
6 <div class="main-content">
7
8 <p>Your vote has been recorded with the following ranked
9 preferences:</p>
10
11 <ol>
12   <% for rank in @voter.vote.rankings.sort %>
13     <li><%=h rank.candidate.name.capitalize %> </li>
14   <% end %>
15 </ol>
16
17 <p>Thanks you voting! You can:</p>
18
19 <ul>
20   <li><%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %></li>
21
22   <li><%= link_to "View Current Results", quickaction_url( :ident => @voter.election.name, :action => 'results' ) %></li>
23 </ul>
24
25 </div>

Benjamin Mako Hill || Want to submit a patch?