<commit_before><h2>About <%= @person.description %></h2>

<%= bootstrap_form_for(@person) do |f| %>
  <div class="row">
    <div class="col-md-4">
      <h4>About</h4>
      <%= render 'people/name', builder: f %>
      <%= render "people/contact", builder: f %>
      <%= f.text_field :ssn, label: "Social security number" %>
    </div>

    <div class="col-md-4">
      <h4>Mail Address</h4>
      <%= f.fields_for :mail_address do |m| %>
        <%= render "addresses/fields", builder: m %>
      <% end %>
    </div>

    <div class="col-md-4">
      <h4>Demographic</h4>
      <%= render "people/demographic", builder: f %>
    </div>
  </div>

  <div class="row">
    <div class="col-md-3">
      <%= f.button("Update", { class:"btn btn-default btn-primary btn-block update-button" }) %>
    </div>
  </div>

<% end %><commit_msg>Add a back button to the person edit screen<commit_after><h2>About <%= @person.description %></h2>

<%= bootstrap_form_for(@person) do |f| %>
  <div class="row">
    <div class="col-md-4">
      <h4>About</h4>
      <%= render 'people/name', builder: f %>
      <%= render "people/contact", builder: f %>
      <%= f.text_field :ssn, label: "Social security number" %>
    </div>

    <div class="col-md-4">
      <h4>Mail Address</h4>
      <%= f.fields_for :mail_address do |m| %>
        <%= render "addresses/fields", builder: m %>
      <% end %>
    </div>

    <div class="col-md-4">
      <h4>Demographic</h4>
      <%= render "people/demographic", builder: f %>
    </div>
  </div>

  <div class="row">
    <div class="col-md-3">
      <%= f.button("Update", { class:"btn btn-default btn-primary btn-block update-button" }) %>
    </div>

    <div class="col-md-6">
    </div>

    <div class="col-md-3">
      <a href="<%= applicant_path(@person.applicant) %>" class="btn btn-info pull-right">
        <span class="glyphicon glyphicon-chevron-left"></span> Back
      </a>
    </div>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.21560574948665298, 'fraction_numerical': 0.013347022587268994, 'mean_word_length': 2.670433145009416, 'pattern_counts': {'":': 0, '<': 74, '<?xml version=': 0, '>': 74, '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': '2950194', 'n_tokens_mistral': 764, 'n_tokens_neox': 702, 'n_words': 149}