%h2
  %a{:name => "divisions"} Votes Attended

%p
  See also
  - if electorate
    = link_to "all votes possible", "mp.php?mpc=#{member.url_electorate.gsub('_', '+')}&house=#{house}&display=everyvote#divisions"
  - else
    = link_to "all votes possible", member_path(member, display: "everyvote", anchor: "divisions")

%table.table.table-striped
  - if electorate
    - members.each do |member|
      %tr
        %td(align="left" colspan="7")
          %b
            Votes by
            = link_to member.full_name_no_electorate, member_path(member)
      = render "members/bootstrap/votes", member: member, member2: nil, divisions: member.divisions.order(division_date: :desc, clock_time: :desc, division_name: :asc), empty_message: "no votes listed"

  - else
    - members.each do |member|
      = render "members/bootstrap/votes", member: member, member2: nil, divisions: member.divisions.order(division_date: :desc, clock_time: :desc, division_name: :asc), empty_message: "no votes listed"

Make bootstrap view work on another page
Make bootstrap view work on another page
