fix type in description text
[selectricity] / app / views / voter / review.rhtml
index b8b9089f2775500478d97e8baaa17f7923d2539f..7ecaf5fb7a054d8647cd4360a2bc03d901d75bb3 100644 (file)
@@ -1,7 +1,11 @@
-<% %>
+<div id="title-header">
+  <span class="header">Review</span>
+  <span class="subheader"><%= @voter.election.name %></span>
+</div>
 
-<% %>
-<h1>Please review your vote carefully before confirming it.</h1>
+<p><strong>Your vote will not be recorded until you confirm it on this
+page.</strong> Please review your vote carefully before clicking 
+confirm.</p>
 
 <p>You have ranked the candidates in the following order (from most
 preferred to least preferred:</p>
@@ -12,21 +16,23 @@ preferred to least preferred:</p>
   <% 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>
+<div class="normal-header">
+  <span class="header">Confirm/Discard</span>
+  <span class="subheader"></span>
+</div>
 
-<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>
+<p>Please select from one of the following pages.</p>
 
-<tr>
-  <td valign="top"><%= button_to 'Discard', :action => 'discard' %></td>
-  <td valign="top">Discard this tentative vote and log out.</td>
-</tr>
+<div style="text-align: center;">
+  <p><%= button_to 'Confirm This Vote', :action => 'confirm', :id => @voter.password %></p>
+
+  <p>If you choose, you will be able to go back<br />and change it up until
+  the end of the voting period.</p>
 
-</table>
+  <p><%= button_to 'Discard This Vote', votepassword_url(
+                   :action => 'index', :urlpassword => @voter.password) %></p>
+
+  <p>You will be returned to the voting page to vote<br /> again, if you choose.</p>
+
+</tr>
+</div>

Benjamin Mako Hill || Want to submit a patch?