<commit_before># encoding: utf-8

module FiltradorHelper
  def filter_form_for(search, &block)    
    content_tag :section, id: 'filtrador' do
      filter_form(search, &block) + reset_button(search)
    end
  end

private
  def filter_form(search, &block)
    simple_form_for search, html: {class: 'filtrador'} do |form|
      capture(form, &block) + buttons { form.submit('Filtrar') }
    end
  end

  def reset_button(search)
    simple_form_for search, html: {id: 'reset_search', class: 'reset'} do |form|
      hidden_field_tag(:reset, true) + form.submit('Ver todos', id: 'reset_button')
    end
  end
end<commit_msg>Con las actualizaciones ha cambiado la clase del formulario.<commit_after># encoding: utf-8

module FiltradorHelper
  def filter_form_for(search, &block)    
    content_tag :section, id: 'filtrador' do
      filter_form(search, &block) + reset_button(search)
    end
  end

private
  def filter_form(search, &block)
    simple_form_for search, html: {class: 'filtrador search'} do |form|
      capture(form, &block) + buttons { form.submit('Filtrar') }
    end
  end

  def reset_button(search)
    simple_form_for search, html: {id: 'reset_search', class: 'search reset'} do |form|
      hidden_field_tag(:reset, true) + form.submit('Ver todos', id: 'reset_button')
    end
  end
end
{'fraction_non_alphanumeric': 0.11688311688311688, 'fraction_numerical': 0.0015278838808250573, 'mean_word_length': 4.077519379844961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4127976', 'n_tokens_mistral': 446, 'n_tokens_neox': 443, 'n_words': 119}