X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..ac0692b4b5cebdc97c889d0cd6126a1f1e3d241d:/app/views/quickvote/thanks.rhtml?ds=sidebyside
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' ) %>
-
-
-
-