Sha256: 4a07c0f23446e4ff0f03bef64f71d1109d49c483991ac92cb59597960970f068

Contents?: true

Size: 857 Bytes

Versions: 24

Compression:

Stored size: 857 Bytes

Contents

.add-button.nested-one-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_one/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, locals: { form: form, model: submodel, subclass: subclass, nested_locals: nested_locals } } do
          = submodel.model_name.human

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
para-0.12.4 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.12.3 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.12.2 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.12.1 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.12.0 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.11.4 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.11.3 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.11.2 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.11.1 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.11.0 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.10.0 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.4 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.3.3 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.3.2 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.3.1 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.2 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.9.0 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.8.15 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.8.14 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml
para-0.8.13 app/views/para/inputs/nested_one/_add_with_subclasses.html.haml