mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
adding more authentication, fixing category bug
This commit is contained in:
parent
60a2982724
commit
42fd3edbae
10 changed files with 28 additions and 93 deletions
|
|
@ -1,33 +0,0 @@
|
|||
%h1 Listing schedules
|
||||
%table
|
||||
%tr
|
||||
%th Name
|
||||
%th Description
|
||||
%th School
|
||||
%th Frequency hours
|
||||
%th Start date
|
||||
%th End date
|
||||
%th Active
|
||||
%th Random
|
||||
%th Recipient list
|
||||
%th Question list
|
||||
%th
|
||||
%th
|
||||
%th
|
||||
- @schedules.each do |schedule|
|
||||
%tr
|
||||
%td= schedule.name
|
||||
%td= schedule.description
|
||||
%td= schedule.school.name
|
||||
%td= schedule.frequency_hours
|
||||
%td= schedule.start_date
|
||||
%td= schedule.end_date
|
||||
%td= schedule.active
|
||||
%td= schedule.random
|
||||
%td= schedule.recipient_list.name
|
||||
%td= schedule.question_list.name
|
||||
%td= link_to 'Show', [schedule.school, schedule]
|
||||
%td= link_to 'Edit', edit_school_schedule_path(schedule.school, schedule)
|
||||
%td= link_to 'Destroy', [schedule.school, schedule], :confirm => 'Are you sure?', :method => :delete
|
||||
%br/
|
||||
= link_to 'New Schedule', new_school_schedule_path(@school)
|
||||
Loading…
Add table
Add a link
Reference in a new issue