app/views/spina/admin/pages/_form_advanced.html.haml in spina-0.11.1 vs app/views/spina/admin/pages/_form_advanced.html.haml in spina-0.12.0
- old
+ new
@@ -37,11 +37,11 @@
.horizontal-form-content
.select-dropdown.page-template{data: {page_parts: @page.view_template_config(current_theme)[:page_parts]}}
- options = options_for_select(current_theme.view_templates.map { |template| [template[:title], template[:name], {'data-page-parts' => template[:page_parts]}] }, @page.view_template)
= f.select :view_template, options
- .horizontal-form-group{style: ('display: none' if @page.custom_page?)}
+ .horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :ancestry
.horizontal-form-content
.select-dropdown.ancestry
- = f.select :parent_id, page_ancestry_options(f.object), include_blank: Spina::Page.human_attribute_name(:no_parent)
+ = f.select :parent_id, page_ancestry_options(f.object), include_blank: Spina::Page.human_attribute_name(:no_parent)
\ No newline at end of file