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.
sqm-dashboards/app/views/categories/show.html.haml

39 lines
705 B

%p#notice= notice
%p
%strong Name:
= @category.name
%p
%strong Blurb:
= @category.blurb
%p
%strong Description:
= @category.description
%p
%strong External:
= @category.external_id
%p
%strong Parent Category:
 
= render partial: 'categories/full_path', locals: {category: @category}
- if @category.child_categories.present?
%p
%strong Child Categories:
- @category.child_categories.each do |child_category|
 
= link_to child_category.name, child_category
%p
%strong Questions
- @category.questions.each do |question|
%p= link_to(question.text, question)
= link_to 'Edit', edit_category_path(@category)
|
= link_to 'Back', categories_path