X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1a62f78f4f3818ab697bddf51f80a1ba150ce9e7..131cab23209cb1dfa81930240b8cf722d2302131:/app/views/quickvote/_approval_table.rhtml diff --git a/app/views/quickvote/_approval_table.rhtml b/app/views/quickvote/_approval_table.rhtml new file mode 100644 index 0000000..85185ee --- /dev/null +++ b/app/views/quickvote/_approval_table.rhtml @@ -0,0 +1,15 @@ + + + + <% @election.approval_result.points.keys.sort.each do |candidate| %> + + <% end -%> + + + + + <% @election.approval_result.points.values.sort.each do |points| %> + + <% end -%> + +
Candidate<%=h @names[candidate] %>
Times Approved <%= points %>
\ No newline at end of file