X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..dfefbfcd5664f972c7a0d7deb53b8eaa683d4c81:/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' ) %>
-
-
-
-