]> projects.mako.cc - selectricity-live/blob - app/views/quickvote/_approval_table.rhtml
fix typos and minor issues
[selectricity-live] / app / views / quickvote / _approval_table.rhtml
1 <table class="preftable">
2   <tr>
3         <td>Candidate</td>
4           <% @election.approval_result.points.keys.sort.each do |candidate| %>
5                 <th><%=h @names[candidate] %></th>
6           <% end -%>
7   </tr>
8         
9   <tr>
10         <td> Times Approved </td>
11         <% @election.approval_result.points.values.sort.each do |points| %>
12                 <td><%= points %></td>
13         <% end -%>
14   </tr>
15 </table>

Benjamin Mako Hill || Want to submit a patch?