= form_for [:admin, @navigation] do |f| = hidden_field_tag 'navigation[page_ids][]', nil %header#header #header_actions = button_tag t('spina.save'), class: 'button button-primary' .breadcrumbs= render_breadcrumbs separator: '
' .well .table-container %table.table.table-clickable %tbody= render partial: 'page', collection: Spina::Page.sorted.roots .well .horizontal-form .horizontal-form-group .horizontal-form-label = Spina::Navigation.human_attribute_name :auto_add_pages %small= Spina::Navigation.human_attribute_name :auto_add_pages_description .horizontal-form-content = f.check_box :auto_add_pages, data: {switch: true}