<commit_before><div>
    Email enabled: <%= check_box_tag :email_enabled, 1, Seek::Config.email_enabled ,:onchange=>toggle_appear_javascript('email_settings') -%>
    <div id="email_settings" style="padding-left:2em;<%= show_or_hide_block(Seek::Config.email_enabled) -%>;">
        <ul>
            <li>Address: <%= text_field_tag(:address, Seek::Config.smtp_settings('address')) %> </li>
            <li>Port: <%= text_field_tag(:port, Seek::Config.smtp_settings('port'), :onkeypress => "javascript: return onlyNumbers(event);") %></li>
            <li>Domain: <%= text_field_tag(:domain, Seek::Config.smtp_settings('domain')) %> </li>
            <li>Authentication: <%= text_field_tag(:authentication, Seek::Config.smtp_settings('authentication')) %> </li>
            <li>User name: <%= text_field_tag(:user_name, Seek::Config.smtp_settings('user_name')) %> </li>
            <li>Password: <%= password_field_tag(:password, Seek::Config.smtp_settings('password'), :autocomplete => 'off') %> </li>
        </ul>
        <p>
        Exception notification enabled: <%= check_box_tag(:exception_notification_enabled, 1, Seek::Config.exception_notification_enabled, :onchange=>toggle_appear_javascript('exception_notification_block')) -%>
        <div id="exception_notification_block" style="<%= show_or_hide_block(Seek::Config.exception_notification_enabled) -%>;">
        Exception notification recipients:    <%= text_field_tag(:exception_notification_recipients, Seek::Config.exception_notification_recipients) %>
        </div>
        </p>
    </div>

</div><commit_msg>use settings partial for exception notification<commit_after><div>
    Email enabled: <%= check_box_tag :email_enabled, 1, Seek::Config.email_enabled ,:onchange=>toggle_appear_javascript('email_settings') -%>
    <div id="email_settings" style="padding-left:2em;<%= show_or_hide_block(Seek::Config.email_enabled) -%>;">
        <ul>
            <li>Address: <%= text_field_tag(:address, Seek::Config.smtp_settings('address')) %> </li>
            <li>Port: <%= text_field_tag(:port, Seek::Config.smtp_settings('port'), :onkeypress => "javascript: return onlyNumbers(event);") %></li>
            <li>Domain: <%= text_field_tag(:domain, Seek::Config.smtp_settings('domain')) %> </li>
            <li>Authentication: <%= text_field_tag(:authentication, Seek::Config.smtp_settings('authentication')) %> </li>
            <li>User name: <%= text_field_tag(:user_name, Seek::Config.smtp_settings('user_name')) %> </li>
            <li>Password: <%= password_field_tag(:password, Seek::Config.smtp_settings('password'), :autocomplete => 'off') %> </li>
        </ul>
        <ul>
          <%= render :partial=>'setting_li',:locals=>{
            :description=>"Something about the feature",
            :name=>"Exception notification enabled",
            :field=>check_box_tag(:exception_notification_enabled, 1, Seek::Config.exception_notification_enabled, :onchange=>toggle_appear_javascript('exception_notification_block'))
           } -%>
          <li id="exception_notification_block" class="additional_settings" style="<%= show_or_hide_block(Seek::Config.exception_notification_enabled) -%>;">
               Exception notification recipients:    <%= text_field_tag(:exception_notification_recipients, Seek::Config.exception_notification_recipients) %>
          </li>
        </ul>
    </div>

</div>
{'fraction_non_alphanumeric': 0.16908069760567543, 'fraction_numerical': 0.0017735737511084836, 'mean_word_length': 4.602649006622516, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 82, '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': '3806369', 'n_tokens_mistral': 1085, 'n_tokens_neox': 1006, 'n_words': 143}