Sha256: 3018d5f6a00f931c89cecc1ab0a61be34e1ae874effe85d74cd24cb609d0d348

Contents?: true

Size: 757 Bytes

Versions: 30

Compression:

Stored size: 757 Bytes

Contents

%section.section.manage
  %h1.section-title= title "Listing Bus Lists"

  %table.table
    %tr
      %th Name
      %th Capacity
      %th Needs Captain?
      %th Schools
      %th Actions
      %th
      %th

    - @bus_lists.each do |bus_list|
      %tr
        %td= bus_list.name
        %td= "#{bus_list.passengers.count} / #{bus_list.capacity}"
        %td= bus_list.needs_bus_captain ? "Yes" : "No"
        %td= bus_list.schools.count
        %td= link_to 'Show', manage_bus_list_path(bus_list)
        %td= link_to 'Edit', edit_manage_bus_list_path(bus_list)
        %td= link_to 'Destroy', manage_bus_list_path(bus_list), :method => :delete, :data => { :confirm => 'Are you sure?' }

  %br

  = btn_link_to 'New Bus List', new_manage_bus_list_path

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
hackathon_manager-0.6.6 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.5 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.4 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.3 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.2 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.1 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.6.0 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.11 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.10 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.9 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.8 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.7 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.6 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.5 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.4 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.3 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.2 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.1 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.5.0 app/views/manage/bus_lists/index.html.haml
hackathon_manager-0.4.4 app/views/manage/bus_lists/index.html.haml