<commit_before><div class="capture_email">
  <main class="t-landing__main c-columns__content">
    <div id="display_resource">

      <h2>Hi <%=  current_user.first_name %> <%=  current_user.last_name %>,</h2>
      <h3>The dataset you are trying to download is large and hence we need your email address to contact you with further instructions.</h3>

      <div>
        <%= form_tag stash_engine.download_async_request_path(@resource.id), method: :post do %>
          <%= label_tag 'email', 'Email', class: 'required c-input__label' %>
          <%= email_field_tag 'email', '', id: 'user_email', type:'email', required: true, class: 'c-input__text', placeholder: "<EMAIL>", style: "height:40px;width:500px;" %>
          <%= hidden_field_tag :resource_id, value: @resource.id %>
        <%= submit_tag "submit", value: "Submit", id: 'capture_email_submit' %>
        <%end%>
      </div>
    </div>
  </main>
</div>

<style type="text/css">
#user_email {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#capture_email_submit {
    background-color: #FF9933;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

div.capture_email {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}
</style><commit_msg>change text on form partial<commit_after><div class="capture_email">
  <h3>Hi <%= "#{current_user.first_name} #{current_user.last_name}" %></h3>
  <h4>The dataset you are trying to download is large. Please submit your email address so we could mail you the url to download .</h4>
  <div class="capture_email_form" align="center" >
    <%= form_tag stash_engine.download_async_request_path(@resource.id), method: :post do %>
      <strong><%= label_tag 'email', 'Email', class: 'required c-input__label' %></strong>
      <% if current_user %>
        <%= email_field_tag 'email', current_user.email , id: 'user_email', class: 'c-input__text' %>
      <% else %>
        <%= email_field_tag 'email', '', id: 'user_email', class: 'c-input__text', placeholder: '<EMAIL>' %>
      <% end %>
      <%= hidden_field_tag :resource_id, value: @resource.id %>
    <%= submit_tag 'submit', value: 'Submit', id: 'capture_email_submit' %>
    <%end%>
  </div>
</div>

<style type="text/css">
#user_email {
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: calc(100% - 800px);
}

#capture_email_submit {
  background-color: #FF9933;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

div.capture_email {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
</style>
{'fraction_non_alphanumeric': 0.15793226381461675, 'fraction_numerical': 0.025668449197860963, 'mean_word_length': 3.6533996683250414, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4259875', 'n_tokens_mistral': 1059, 'n_tokens_neox': 967, 'n_words': 243}