Sha256: d9d138430e72f24de4f743185668ddc8dd23a6ace5f0f31cf8f03eb0a91e1caf

Contents?: true

Size: 1.22 KB

Versions: 21

Compression:

Stored size: 1.22 KB

Contents

- nested_locals ||= {}

.panel.panel-default.form-fields{ class: ('nested-many-inset-panel' if inset), data: { persisted: form.object.persisted? } }
  .panel-heading
    = form.reorder_anchor

    %h3.panel-title
      = link_to "##{ form.nested_resource_dom_id }", class: "nested-input-title collapsed#{ (' has-error' if form.object.errors.any?) }", data: { toggle: 'collapse', :'open-on-insert' => true } do
        = form.nested_resource_name
        %i.fa.fa-angle-up

    = form.remove_association_button

  .panel-collapse.form-inputs.collapse{ id: form.nested_resource_dom_id, class: ('in' if inset && form.object.persisted?), data: { rendered: render_partial, render_path: @component.path(remote_partial_params), id: form.object.id, :"object-name" => form.object_name, :"model-name" => model.name } }
    .panel-body{ data: { :"nested-form-container" => true } }
      - if render_partial
        = render partial: find_partial_for(model, :fields), locals: { form: form }.merge(nested_locals)
      - else
        = fa_icon "spinner spin"

    -# Add inheritance column field if needed
    = form.hidden_field form.object.class.inheritance_column if form.object.class.column_names.include?(form.object.class.inheritance_column)

  .clearfix

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
para-0.8.5 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.3.3 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.3.2 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.3.1 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.3 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.2.3 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.2.2 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.2.1 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.2 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.1 app/views/para/inputs/nested_many/_container.html.haml
para-0.8.0 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.4.p1 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.4 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p6 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p5 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p4 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p3 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p2 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3.p1 app/views/para/inputs/nested_many/_container.html.haml
para-0.7.3 app/views/para/inputs/nested_many/_container.html.haml