Sha256: d1fde1eaa3effb2d11b3694165a3d82946ba3458d7db3a0f4c5ae2ada1187159

Contents?: true

Size: 738 Bytes

Versions: 10

Compression:

Stored size: 738 Bytes

Contents

#page_content.tab-content.active.well
  .horizontal-form
    .horizontal-form-group
      .horizontal-form-label
        = Spina::Page.human_attribute_name :title
      .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 |ff|
      = ff.hidden_field :id
      = ff.hidden_field :title
      = ff.hidden_field :page_partable_type
      = ff.hidden_field :name

      .horizontal-form-group.page-part{data: {name: ff.object.name}}
        = render "spina/admin/partables/#{ partable_type_partial_namespace(ff.object.page_partable_type) }/form", f: ff

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spina-1.2.0 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.1.4 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.1.3 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.1.2 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.1.1 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.1.0 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.0.3 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.0.2 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.0.1 app/views/spina/admin/pages/_form_page_content.html.haml
spina-1.0.0 app/views/spina/admin/pages/_form_page_content.html.haml