Sha256: 7a6429d6736c8a7a7acfebd22c4811f83dc210361318ff322cf2cbf7cff7212c
Contents?: true
Size: 775 Bytes
Versions: 10
Compression:
Stored size: 775 Bytes
Contents
%div{:class => "nested_form #{nested_form.field_style}", :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") .nested-form-fields-container - old_form = self.current_form = current_form.fields_for nested_form.name, current_form.object.send(nested_form.build_method) do |form| - self.current_form = form = render_component nested_form, :fields - self.current_form = old_form - if nested_form.expandable? && !nested_form.update_only? %p =link_to_add_fields ::I18n.t("lolita.nested_form.add", :resource_name => nested_form.klass.lolita_model_name.human.underscore), current_form, nested_form
Version data entries
10 entries across 10 versions & 1 rubygems