-<% %>
-<h1>Vote Recorded</h1>
+<div id="title-header">
+ <span class="header">Quickvote</span>
+ <span class="subheader">Vote Recorded Successfully</span>
+</div>
+
<p>Your vote has been recorded with the following ranked
preferences:</p>
<ol>
<% for rank in @voter.vote.rankings.sort %>
- <li><%= rank.candidate.name.capitalize %> </li>
+ <li><%=h rank.candidate.name.capitalize %> </li>
<% end %>
</ol>
<p>Thanks you voting! You can:</p>
<ul>
- <li><%= link_to "Change Your Vote", quickaction_url( :votename => @voter.election.name, :action => 'change' ) %></li>
+ <li><%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %></li>
- <li><%= link_to "View Current Results", quickaction_url( :votename => @voter.election.name, :action => 'results' ) %></li>
+ <li><%= link_to "View Current Results", quickaction_url( :ident => @voter.election.name, :action => 'results' ) %></li>
</ul>
-
-
-
-