app/views/para/inputs/nested_many/_container.html.haml in para-0.8.5 vs app/views/para/inputs/nested_many/_container.html.haml in para-0.8.7

- old
+ new

@@ -9,10 +9,10 @@ = 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-collapse.form-inputs.collapse{ id: form.nested_resource_dom_id, class: ('in' if uncollapsed && 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"