mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
20 lines
607 B
Text
20 lines
607 B
Text
%p#notice= notice
|
|
%h1 Question Lists
|
|
%table
|
|
%thead
|
|
%tr
|
|
%th Name
|
|
%th Description
|
|
%th Question ids
|
|
%th{:colspan => "3"}
|
|
%tbody
|
|
- @question_lists.each do |question_list|
|
|
%tr
|
|
%td= question_list.name
|
|
%td= question_list.description
|
|
%td= question_list.question_ids
|
|
%td= link_to 'Show', question_list
|
|
%td= link_to 'Edit', edit_legacy_question_list_path(question_list)
|
|
%td= link_to 'Destroy', question_list, method: :delete, data: { confirm: 'Are you sure?' }
|
|
%br/
|
|
= link_to 'New Question List', new_legacy_question_list_path
|