Sha256: 710ba289af78b42d76da6a3234f7ecdc994bf29716d8ee1fabeab867080271be

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 Bytes

Contents

.structure-form-pane{id: "structure_form_pane_#{f.object.id}"}
  / Hidden field
  = f.hidden_field :position, placeholder: "Position", class: "structure_form_pane_#{f.object.id}_position"

  / Strucure parts
  = f.fields_for :structure_parts do |structure_part_form|
    = structure_part_form.hidden_field :id
    = structure_part_form.hidden_field :title
    = structure_part_form.hidden_field :name
    = structure_part_form.hidden_field :structure_partable_type

    .structure-form-part= render partial: "spina/admin/structure_partables/#{structure_part_form.object.structure_partable_type.demodulize.underscore}_form", object: structure_part_form

  = f.hidden_field :_destroy
  = link_to t('spina.delete'), '#', class: 'remove-structure-item-fields button button-mini button-link pull-right'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spina-0.6.16 app/views/spina/admin/pages/_structure_item_fields.html.haml
spina-0.6.15 app/views/spina/admin/pages/_structure_item_fields.html.haml
spina-0.6.14 app/views/spina/admin/pages/_structure_item_fields.html.haml