app/views/spina/admin/pages/_form_advanced.html.haml in spina-1.2.0 vs app/views/spina/admin/pages/_form_advanced.html.haml in spina-2.0.0.alpha
- old
+ new
@@ -1,8 +1,8 @@
#advanced.tab-content
.horizontal-form
- .well
+ %div{style: "margin: 40px 0"}
.horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :draft
%small= Spina::Page.human_attribute_name :draft_description
.horizontal-form-content
@@ -15,26 +15,26 @@
= f.check_box :show_in_menu, data: {switch: true}
.horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :menu_title
.horizontal-form-content
- = f.text_field :menu_title, placeholder: Spina::Page.human_attribute_name(:show_in_menu_placeholder), value: f.object.menu_title(fallback: false, default: nil)
+ .page-form-control
+ = f.text_field :menu_title, placeholder: Spina::Page.human_attribute_name(:show_in_menu_placeholder), value: f.object.menu_title(fallback: false, default: nil)
.horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :skip_to_first_child
%small= Spina::Page.human_attribute_name :skip_to_first_child_description
.horizontal-form-content
= f.check_box :skip_to_first_child, data: {switch: true}
- .well
.horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :link_url
%small= Spina::Page.human_attribute_name :link_url_description
.horizontal-form-content
- = f.text_field :link_url, placeholder: Spina::Page.human_attribute_name(:link_url_placeholder)
+ .page-form-control
+ = f.text_field :link_url, placeholder: Spina::Page.human_attribute_name(:link_url_placeholder)
- .well
- unless @page.resource.present?
.horizontal-form-group
.horizontal-form-label
= Spina::Page.human_attribute_name :ancestry
.horizontal-form-content
\ No newline at end of file