]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/thanks.rhtml
merged fixes from devel
[selectricity-live] / app / views / quickvote / thanks.rhtml
index b57ac0b2a3abcd42bcb84798b577b1e421483729..58454485a2aa53eb22a13a208e59abba2b55c4b0 100644 (file)
@@ -1,4 +1,4 @@
-<div id="page-title">
+<div id="title-header">
   <span class="header">Quickvote</span>
   <span class="subheader">Vote Recorded Successfully</span>
 </div>
   <span class="header">Quickvote</span>
   <span class="subheader">Vote Recorded Successfully</span>
 </div>
@@ -8,11 +8,11 @@ preferences:</p>
 
 <ol>
   <% for rank in @voter.vote.rankings.sort %>
 
 <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>
 
   <% 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>
 
 <ul>
   <li><%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %></li>

Benjamin Mako Hill || Want to submit a patch?