mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
17 lines
432 B
Text
17 lines
432 B
Text
%h1 Schools
|
|
%table
|
|
%thead
|
|
%tr
|
|
%th Name
|
|
%th District
|
|
%th{:colspan => "3"}
|
|
%tbody
|
|
- @schools.each do |school|
|
|
%tr
|
|
%td= school.name
|
|
%td= school.district_id
|
|
%td= link_to 'Show', school
|
|
%td= link_to 'Edit', edit_school_path(school)
|
|
%td= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }
|
|
%br/
|
|
= link_to 'New School', new_school_path
|