Sha256: d83b9bb901c8903cf613eb036efba506b092364fd0c6545cca33e62f0d88e1c9

Contents?: true

Size: 673 Bytes

Versions: 5

Compression:

Stored size: 673 Bytes

Contents

#page_content.tab-content.active
  .horizontal-form
    .horizontal-form-group
      .horizontal-form-label
        = Spina::Page.human_attribute_name :title
        %small Test
      .horizontal-form-content
        = f.text_field :title, placeholder: Spina::Page.human_attribute_name(:title_placeholder)

    = f.fields_for :page_parts, @page_parts.sort { |a,b| a.position(current_theme) <=> b.position(current_theme) } do |page_part_form|
      .horizontal-form-group.page-part{data: {name: page_part_form.object.name}}
        = render partial: "spina/admin/page_partables/#{page_part_form.object.page_partable_type.demodulize.underscore}_form", object: page_part_form

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-0.8.1 app/views/spina/admin/pages/_form_page_content.html.haml
spina-0.8.0 app/views/spina/admin/pages/_form_page_content.html.haml
spina-0.7.3 app/views/spina/admin/pages/_form_page_content.html.haml
spina-0.7.2 app/views/spina/admin/pages/_form_page_content.html.haml
spina-0.7.0 app/views/spina/admin/pages/_form_page_content.html.haml