X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..adf9b5ec96187af2108c42791319cbe2a3366506:/app/views/quickvote/thanks.rhtml?ds=inline
diff --git a/app/views/quickvote/thanks.rhtml b/app/views/quickvote/thanks.rhtml
old mode 100755
new mode 100644
index 72cfe61..bf98ef8
--- 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' ) %>
-
-
-
-