Major changes in this commit over include work over several days but that was never...
[selectricity-live] / app / views / voter / review.rhtml
diff --git a/app/views/voter/review.rhtml b/app/views/voter/review.rhtml
new file mode 100644 (file)
index 0000000..d1eb9dc
--- /dev/null
@@ -0,0 +1,31 @@
+<% %>
+
+<h1>Please review your vote carefully before confirming it.</h1>
+
+<p>You have ranked the candidates in the following order (from most
+preferred to least preferred:</p>
+
+<ol>
+  <% for rank in @vote.rankings.sort %>
+  <li><%= rank.candidate.name %> </li>
+  <% end %>
+</ol>
+
+<table>
+<tr>
+  <td valign="top"><%= button_to 'Confirm', :action => 'confirm', :id => @voter.password %></td>
+  <td valign="top">Confirm this vote now. You will be able to go back and
+    change it.</td>
+</tr>
+
+<tr>
+  <td valign="top"><%= button_to 'Change', :action => 'index', :id => @voter.password %></td>
+  <td valign="top">Go back to the voting page and vote again.</td>
+</tr>
+
+<tr>
+  <td valign="top"><%= button_to 'Discard', :action => 'discard' %></td>
+  <td valign="top">Discard this tentative vote and log out.</td>
+</tr>
+
+</table>

Benjamin Mako Hill || Want to submit a patch?