Major integration of Courtland's design into the QuickVotes.
[selectricity-live] / app / views / quickvote / thanks.rhtml
index 72cfe61fa490af535a5e59bea65f487cd1b7f931..506677f8f6f70c3f0e4e80c78f180ef895d732aa 100644 (file)
@@ -1,23 +1,25 @@
-<% %>
-<h1>Vote Recorded</h1>
+<div id="page-title">
+  <span class="header">Quickvote</span>
+  <span class="subheader">Vote Recorded Successfully</span>
+</div>
+
+<div class="main-content">
+
 <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>
 
-
-
-
-
+</div>

Benjamin Mako Hill || Want to submit a patch?