]> projects.mako.cc - selectricity-live/blob - app/views/quickvote/_approval_table.rhtml
Added individual widgets for embeddable voting to images folder, aboutot start editing.
[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><%= white_list(@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?