Sha256: c688a5b7a0d175e0f8b45dfa1dd2f6cd70d4738e4dfb12ba4a8b569e07ec0223
Contents?: true
Size: 682 Bytes
Versions: 7
Compression:
Stored size: 682 Bytes
Contents
<div class="nested_form" id=<%= "nested_form_#{nested_form.__id__}" %>> <% unless nested_form.field_style == :normal %> <%= render_component *nested_form.as_field.build(:name=>"/lolita/configuration/field", :state => :"label") %> <% end %> <%= tab_form.fields_for nested_form.name, resource.send(nested_form.build_method) do |form| %> <% tab_form(form) do %> <%= render_component nested_form, :fields %> <% end %> <% end %> <% if nested_form.expandable? && !nested_form.update_only? %> <p><%= link_to_add_fields ::I18n.t("lolita.nested_form.add", :resource_name => nested_form.klass.model_name.human.downcase), tab_form, nested_form %> </p> <% end %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems