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
607 B
21 lines
607 B
%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
|