Sha256: 680960c2e2dc8232f47eafd79abf01881da38edcc0a394d07a327f34c3cb2678

Contents?: true

Size: 966 Bytes

Versions: 18

Compression:

Stored size: 966 Bytes

Contents

.add-button.nested-many-inset-add-button.dropdown
  %button.btn.btn-shadow.dropdown-toggle{ class: add_button_class, type: 'button', data: { toggle: 'dropdown' } }
    = add_button_label
    %i.fa.fa-angle-down
  %ul.dropdown-menu
    - subclasses.each do |submodel|
      %li
        = link_to_add_association form, attribute_name, wrap_object: proc { with_inverse_association_for(submodel.new, attribute_name, form.object) }, partial: find_partial_for(submodel, 'nested_many/container', partial_dir: 'inputs'), form_name: 'form', class: 'dropdown-link', data: { :'association-insertion-node' => "##{ dom_identifier }", :'association-insertion-method' => 'append' }, render_options: { nested_attribute_name: attribute_name, orderable: orderable, locals: { model: submodel, nested_locals: nested_locals, inset: inset, uncollapsed: uncollapsed, render_partial: render_partial, remote_partial_params: remote_partial_params } } do
          = submodel.model_name.human

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
para-0.11.3 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.11.2 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.11.1 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.11.0 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.10.0 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.4 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.3.3 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.3.2 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.3.1 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.2 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.9.0 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.15 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.14 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.13 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.12 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.11 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.10 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
para-0.8.9 app/views/para/inputs/nested_many/_add_with_subclasses.html.haml