app/views/policies/_vote_summary_table.html.haml
%table.table.divisions-table
%thead
%tr
%th Division
- people.each do |person|
%th= person.name
%th.policyvotehead Supporters vote
%tbody
- if divisions.empty?
%tr
%td{colspan: 7} no votes listed
- else
- divisions.each do |division|
%tr
%td
%h3.division-title.h4
%small.pre-title= division_date_and_time(division) + " – " + division.house_name
= link_to(division.name, division_path_simple(division))
- people.each do |person|
%td.division-member-vote{data: {member: "#{person.name}"}}
= vote_display(person.vote_on_division_without_tell(division))
%td.division-policy-vote
= vote_display(PolicyDivision.vote_without_strong(division.policy_vote(policy)))