<commit_before><div id='call-tool' class="tool">
  <div class="tool-container">
    <div class="tool-heading">
      <h2 class="tool-title precall "><%= @actionPage.call_tool_title %></h2>
      <h2 class="tool-title postcall hidden">Calling you now</h2>
    </div>

    <div class="tool-body with-js">

      <!-- If we don't have phone -->
      <div class="call-body-phone-not-saved <%= 'hidden' if current_user.try(:phone) -%>">

        <div class="call-script-box">
          <h3 class="header">What to say</h3>
          <div class="call-script">
            <%= markdown @actionPage.message_rendered %>
          </div>
        </div>

        <p class="small">Enter your phone number below and we'll connect you (US numbers only).</p>
        <form class="form call-tool" data-call-campaign-id="<%= @actionPage.call_campaign.call_campaign_id %>">
          <input type="hidden" name="call_campaign_id" value="<%= @actionPage.call_campaign.call_campaign_id %>" />
          <input type="hidden" name="action-id" value="<%= @actionPage.id %>" />
          <fieldset>
            <div class="form-group">
              <div id="call-tool-form-container">
                <input type="text" required class="form-control bfh-phone" id="inputPhone" name="inputPhone" value="<%= current_user.try :phone -%>" data-format="ddd-ddd-dddd" pattern="^((5\d[123467890])|(5[123467890]\d)|([2346789]\d\d))-\d\d\d-\d\d\d\d$" placeholder="Phone Number" title="Must be a valid US phone number entered in 555-555-5555 format">
                <% case CallTool.required_fields_for_campaign(@actionPage.call_campaign.call_campaign_id)["userLocation"] %>
                <% when "district" %>
                  <input type="text" required class="form-control" id="inputStreetAddress" name="inputStreetAddress" value="<%= current_user.try :street_address -%>" placeholder="Street Address" title='Must be a valid US street address (no city or state necessary)'>
                  <input type="text" required class="form-control" id="inputZip" name="inputZip" value="<%= current_user.try :zipcode -%>" placeholder="Zip Code" pattern='^[\d]{5}$' title='Must be a valid 5-digit zip code'>
                <% when "postal" %>
                  <input type="text" required class="form-control" id="inputZip" name="inputZip" value="<%= current_user.try :zipcode -%>" placeholder="Zip Code" pattern='^
                <% end %>
              </div>
            </div>
            <%= render 'tools/save_my_info_option', info: ['phone number', 'location'] -%>
            <div class="form-group">
                <button type="submit" class="btn btn-default call-tool-submit">Call Now</button><commit_msg>Fix broken pattern on inputZip<commit_after><div id='call-tool' class="tool">
  <div class="tool-container">
    <div class="tool-heading">
      <h2 class="tool-title precall "><%= @actionPage.call_tool_title %></h2>
      <h2 class="tool-title postcall hidden">Calling you now</h2>
    </div>

    <div class="tool-body with-js">

      <!-- If we don't have phone -->
      <div class="call-body-phone-not-saved <%= 'hidden' if current_user.try(:phone) -%>">

        <div class="call-script-box">
          <h3 class="header">What to say</h3>
          <div class="call-script">
            <%= markdown @actionPage.message_rendered %>
          </div>
        </div>

        <p class="small">Enter your phone number below and we'll connect you (US numbers only).</p>
        <form class="form call-tool" data-call-campaign-id="<%= @actionPage.call_campaign.call_campaign_id %>">
          <input type="hidden" name="call_campaign_id" value="<%= @actionPage.call_campaign.call_campaign_id %>" />
          <input type="hidden" name="action-id" value="<%= @actionPage.id %>" />
          <fieldset>
            <div class="form-group">
              <div id="call-tool-form-container">
                <input type="text" required class="form-control bfh-phone" id="inputPhone" name="inputPhone" value="<%= current_user.try :phone -%>" data-format="ddd-ddd-dddd" pattern="^((5\d[123467890])|(5[123467890]\d)|([2346789]\d\d))-\d\d\d-\d\d\d\d$" placeholder="Phone Number" title="Must be a valid US phone number entered in 555-555-5555 format">
                <% case CallTool.required_fields_for_campaign(@actionPage.call_campaign.call_campaign_id)["userLocation"] %>
                <% when "district" %>
                  <input type="text" required class="form-control" id="inputStreetAddress" name="inputStreetAddress" value="<%= current_user.try :street_address -%>" placeholder="Street Address" title='Must be a valid US street address (no city or state necessary)'>
                  <input type="text" required class="form-control" id="inputZip" name="inputZip" value="<%= current_user.try :zipcode -%>" placeholder="Zip Code" pattern="^[\d]{5}$" title='Must be a valid 5-digit zip code'>
                <% when "postal" %>
                  <input type="text" required class="form-control" id="inputZip" name="inputZip" value="<%= current_user.try :zipcode -%>" placeholder="Zip Code" pattern="^[\d]{5}$">
                <% end %>
              </div>
            </div>
            <%= render 'tools/save_my_info_option', info: ['phone number', 'location'] -%>
            <div class="form-group">
                <button type="submit" class="btn btn-default call-tool-submit">Call Now</button>
{'fraction_non_alphanumeric': 0.17480051957691595, 'fraction_numerical': 0.016886249768046018, 'mean_word_length': 3.0223880597014925, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 100, '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': '219290', 'n_tokens_mistral': 1786, 'n_tokens_neox': 1606, 'n_words': 361}