Sha256: 4459b398973ce39611c49f25219036491f40fa61396c3a99b68f9faed366aa43
Contents?: true
Size: 881 Bytes
Versions: 21
Compression:
Stored size: 881 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 { submodel.new }, 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, render_partial: render_partial, remote_partial_params: remote_partial_params } } do = submodel.model_name.human
Version data entries
21 entries across 21 versions & 1 rubygems