]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/thanks.rhtml
Streamlined and made more consistent the code that checks for custom skin uploads...
[selectricity] / app / views / quickvote / thanks.rhtml
index 0fb3610028e2bc2bc78a39424539b367bdfff673..58454485a2aa53eb22a13a208e59abba2b55c4b0 100644 (file)
@@ -1,15 +1,18 @@
-<% %>
-<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><%=h rank.candidate.name.capitalize %> </li>
+    <li><%= white_list(rank.candidate.name.capitalize) %> </li>
   <% end %>
 </ol>
 
-<p>Thanks you voting! You can:</p>
+<p>Thank you for voting! You can:</p>
 
 <ul>
   <li><%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %></li>
@@ -17,7 +20,3 @@ preferences:</p>
   <li><%= link_to "View Current Results", quickaction_url( :ident => @voter.election.name, :action => 'results' ) %></li>
 </ul>
 
-
-
-
-

Benjamin Mako Hill || Want to submit a patch?