working quickvote support created
[selectricity] / app / views / quickvote / thanks.rhtml
diff --git a/app/views/quickvote/thanks.rhtml b/app/views/quickvote/thanks.rhtml
new file mode 100644 (file)
index 0000000..794f412
--- /dev/null
@@ -0,0 +1,23 @@
+<% %>
+
+<p>Your vote has been recorded with the following ranked
+preferences:</p>
+
+<ol>
+  <% for rank in @voter.vote.rankings.sort %>
+    <li><%= rank.candidate.name %> </li>
+  <% end %>
+</ol>
+
+<p>Thanks you voting! You can:</p>
+
+<ul>
+  <li><%= link_to "Change your vote.", quickaction_url( :votename => @voter.election.name, :action => 'change' ) %></li>
+
+  <li><%= link_to "View election results.", quickaction_url( :votename => @voter.election.name, :action => 'results' ) %></li>
+</ul>
+
+
+
+
+

Benjamin Mako Hill || Want to submit a patch?