added the ability to add safe html tags to input (i.e., images)
[selectricity-live] / app / views / voter / details.rhtml
index 584c4084dca817df12a1c7d7b7c8436f30837bd2..cf73f4189c7ae52865b0e163585bb46baa1aeac6 100644 (file)
@@ -4,7 +4,7 @@
 </div>
 
 <p>This page contains information useful for auditing elections and
-verify that votes were tabulated correctly.</p>
+verifying that votes were tabulated correctly.</p>
 
 <p>The following invididuals (in random order) voted in this
 election:</p>
@@ -20,15 +20,17 @@ election:</p>
 <p>The column marked <em>Verification Token</em> lists tokens that were
 given to voters at the time of voting. Voters can check to see that the
 vote that corresponds to their token was recorded correctly. The column
-marks "vote" lists the candidates in order of the voter's preference. To
-read these votes, please refer to the key below.</p>
+marked <em>Vote</em> lists the candidates in order of the voter's
+preference. To read these votes, refer to the key below.</p>
 
 <table class="preftable">
 <tr>
+<th></th>
 <th>Verification Token</th>
 <th>Vote</th>
-<%- @votes.each do |vote| -%>
+<%- @votes.each_with_index do |vote, i| -%>
 <tr>
+<td><%= i + 1 %></td>
 <td><%= vote.token %></td><td><%= vote.votestring%></td>
 </tr>
 <%- end -%>

Benjamin Mako Hill || Want to submit a patch?