Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
519 B

.container
%h1 Agencies
%table.table.table-striped.table-bordered.table-hover
%thead
%tr
%th Agency
%th
%th
%th
%tbody
- @agencies.each do |agency|
%tr
%td= agency.agency_name
%td= link_to 'Show', agency
%td= link_to 'Edit', edit_agency_path(agency)
%td= link_to 'Destroy', agency, method: :delete, data: { confirm: 'Are you sure?' }
%br
= link_to ' + New Agency', new_agency_path, class: "btn btn-default"