X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..df1e1ca70a2c618eb376ea6b61207c726beac31d:/app/views/quickvote/thanks.rhtml?ds=inline
diff --git a/app/views/quickvote/thanks.rhtml b/app/views/quickvote/thanks.rhtml
index 72cfe61..bf98ef8 100644
--- a/app/views/quickvote/thanks.rhtml
+++ b/app/views/quickvote/thanks.rhtml
@@ -1,23 +1,22 @@
-<% %>
-
Vote Recorded
+
+
Your vote has been recorded with the following ranked
preferences:
<% for rank in @voter.vote.rankings.sort %>
- - <%= rank.candidate.name.capitalize %>
+ - <%=h rank.candidate.name.capitalize %>
<% end %>
Thanks you voting! You can:
- - <%= link_to "Change Your Vote", quickaction_url( :votename => @voter.election.name, :action => 'change' ) %>
+ - <%= link_to "Change Your Vote", quickaction_url( :ident => @voter.election.name, :action => 'change' ) %>
- - <%= link_to "View Current Results", quickaction_url( :votename => @voter.election.name, :action => 'results' ) %>
+ - <%= link_to "View Current Results", quickaction_url( :ident => @voter.election.name, :action => 'results' ) %>
-
-
-
-