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