Sha256: 44df742d688e2a510c8b8ad6880394009c71004bc6ae929a8dad7775616095a4
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
= render "layouts/manage/page_title", title: "Bus Lists" do = link_to "New Bus List", new_manage_bus_list_path, class: "btn btn-sm btn-outline-secondary" %div %table.table.table-striped.table-hover %thead %tr %th Name %th Capacity %th Needs Captain? %th Schools %tbody - @bus_lists.each do |bus_list| %tr %td= link_to(bus_list.name, manage_bus_list_path(bus_list)) %td #{bus_list.passengers.count} / #{bus_list.capacity} %td= bus_list.needs_bus_captain ? "<strong class=\"text-danger\">Yes</strong>".html_safe : "No" %td= bus_list.schools.count
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hackathon_manager-0.7.1 | app/views/manage/bus_lists/index.html.haml |
hackathon_manager-0.7.0 | app/views/manage/bus_lists/index.html.haml |