<commit_before>%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, resource.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.downcase), current_form, nested_form <commit_msg>nested form takes records form currents form object not from resource, that allows deeper nesting<commit_after>%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.downcase), current_form, nested_form 
{'fraction_non_alphanumeric': 0.12806702573309395, 'fraction_numerical': 0.0023937761819269898, 'mean_word_length': 4.9714285714285715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3437965', 'n_tokens_mistral': 555, 'n_tokens_neox': 552, 'n_words': 88}