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

Version Path
lolita-3.2.0.rc.6 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.2.0.rc.5 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.2.0.rc.4 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.2.0.rc.3 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.2.0.rc2 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.2.0.rc1 app/views/components/lolita/configuration/nested_form/_display.html.erb
lolita-3.1.17 app/views/components/lolita/configuration/nested_form/_display.html.erb