X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..4e41e4ab171d4d47cdac0f8676bf78d36e6eb007:/app/views/quickvote/thanks.rhtml
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' ) %>
-
-
-
-