<commit_before>= simple_form_for [:admin, @component, resource], as: :resource do |f|
  = f.error_notification

  .form-inputs
  <%- attributes.each do |field| -%>
    <%- if field.field_type -%>
    = f.<%= field.field_method %> :<%= field.name %>, as: :<%= field.field_type %>
    <%- else -%>
    = f.<%= field.field_method %> :<%= field.name %>
    <%- end -%>
  <%- end -%>

  .form-actions
    = link_to t('para.shared.cancel'), component_path(@component), class: 'btn btn-danger'
    = form.button :submit, class: 'btn-primary'<commit_msg>Fixed wrong variable name bug<commit_after>= simple_form_for [:admin, @component, resource], as: :resource do |f|
  = f.error_notification

  .form-inputs
  <%- attributes.each do |field| -%>
    <%- if field.field_type -%>
    = f.<%= field.field_method %> :<%= field.name %>, as: :<%= field.field_type %>
    <%- else -%>
    = f.<%= field.field_method %> :<%= field.name %>
    <%- end -%>
  <%- end -%>

  .form-actions
    = link_to t('para.shared.cancel'), component_path(@component), class: 'btn btn-danger'
    = f.button :submit, class: 'btn-primary'

{'fraction_non_alphanumeric': 0.21338155515370705, 'fraction_numerical': 0.0, 'mean_word_length': 3.1931818181818183, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3219661', 'n_tokens_mistral': 430, 'n_tokens_neox': 395, 'n_words': 79}