<commit_before><%= form_for @search_form, as: 'search', url: :staff_customers,
    html: { method: :get, class: 'search' } do |f| %>
  <%= markup do |m|
    p = FormPresenter.new(f, self)
    m << p.text_field_block(:family_name_kana, 'フリガナ（姓）:')
    m << p.text_field_block(:given_name_kana, 'フリガナ（名）:')
    m.br
    m << p.drop_down_list_block(:birth_year, '誕生年:',
      (1900..Time.current.year).to_a.reverse)
    m << p.drop_down_list_block(:birth_month, '誕生月:', 1..12)
    m << p.drop_down_list_block(:birth_mday, '誕生日:', 1..31)
    m.br
    m.div do
      m << p.drop_down_list_block(:address_type, '住所の検索範囲:',
        [ [ '自宅住所のみ', 'home' ], [ '勤務先のみ', 'work' ] ])
    end
    m << p.drop_down_list_block(:prefecture, '都道府県:',
      Address::PREFECTURE_NAMES)
    m << p.text_field_block(:city, '市区町村:')
    m.br
    m << p.text_field_block(:phone_number, '電話番号:')
    m << f.submit('検索')
  end %><commit_msg>検索機能の追加　表示画面編集　性別、郵便番号、電話番号下４桁<commit_after><%= form_for @search_form, as: 'search', url: :staff_customers,
    html: { method: :get, class: 'search' } do |f| %>
  <%= markup do |m|
    p = FormPresenter.new(f, self)
    m << p.text_field_block(:family_name_kana, 'フリガナ（姓）:')
    m << p.text_field_block(:given_name_kana, 'フリガナ（名）:')
    m.br
    m << p.drop_down_list_block(:birth_year, '誕生年:',
      (1900..Time.current.year).to_a.reverse)
    m << p.drop_down_list_block(:birth_month, '誕生月:', 1..12)
    m << p.drop_down_list_block(:birth_mday, '誕生日:', 1..31)
    m.div do
    m << p.drop_down_list_block(:gender, '性別:',
      [ [ '男性', 'male' ], [ '女性', 'female' ] ])
    end
    m.br
    m.div do
      m << p.drop_down_list_block(:address_type, '住所の検索範囲:',
        [ [ '自宅住所のみ', 'home' ], [ '勤務先のみ', 'work' ] ])
    end
    m << p.drop_down_list_block(:prefecture, '都道府県:',
      Address::PREFECTURE_NAMES)
    m << p.text_field_block(:city, '市区町村:')
    m.br
    m << p.text_field_block(:postal_code, '郵便番号:', size: 7)
    m << p.text_field_block(:phone_number, '電話番号:')
    m << p.text_field_block(:last_four_digits, '電話番号下４桁:', size: 4)
    m << f.submit('検索')
  end %>
{'fraction_non_alphanumeric': 0.1991404011461318, 'fraction_numerical': 0.011461318051575931, 'mean_word_length': 3.4574468085106385, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 7, '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': '4815665', 'n_tokens_mistral': 1031, 'n_tokens_neox': 1037, 'n_words': 150}