<commit_before><p id="notice"><%= notice %></p>

<div class="row">
  <div class="col-lg-6">
    <%= link_to contacts_path, class: 'btn btn-default btn-xs' do %>
      <i class="fa fa-arrow-circle-left"></i> Go back
    <% end %>
  </div>
  <div class="col-lg-6 text-right">
    <%= link_to edit_contact_path(@contact), class: 'btn btn-edit btn-xs' do %>
      <i class="fa fa-edit"></i> Edit contact
    <% end %>
  </div>
  <div class="col-lg-12">
    <hr>
  </div>
  <div class="col-lg-12 contact-info">
    <h3><%= @contact.firstname %> <%= @contact.lastname %></h3>
    <% @contact.emails.each do |data| %>
      <h4 class="text-muted"><%= data.email %></h4>
    <% end %>
    <br>
    <p><strong><%= 'Phone'.pluralize(@contact.phones.count) %>:</strong></p>
    <div class="col-lg-6">
      <p>
        <strong><%= 'Address'.pluralize(@contact.addresses.count) %>:</strong>
      <p>
      <address>
        <% @contact.addresses.each do |address| %><commit_msg>Remove repeated title<commit_after><p id="notice"><%= notice %></p>

<div class="row">
  <div class="col-lg-6">
    <%= link_to contacts_path, class: 'btn btn-default btn-xs' do %>
      <i class="fa fa-arrow-circle-left"></i> Go back
    <% end %>
  </div>
  <div class="col-lg-6 text-right">
    <%= link_to edit_contact_path(@contact), class: 'btn btn-edit btn-xs' do %>
      <i class="fa fa-edit"></i> Edit contact
    <% end %>
  </div>
  <div class="col-lg-12">
    <hr>
  </div>
  <div class="col-lg-12 contact-info">
    <h3><%= @contact.firstname %> <%= @contact.lastname %></h3>
    <% @contact.emails.each do |data| %>
      <h4 class="text-muted"><%= data.email %></h4>
    <% end %>
    <br>

    <div class="col-lg-6">
      <p>
        <strong><%= 'Address'.pluralize(@contact.addresses.count) %>:</strong>
      <p>
      <address>
        <% @contact.addresses.each do |address| %>
{'fraction_non_alphanumeric': 0.23258306538049303, 'fraction_numerical': 0.011789924973204717, 'mean_word_length': 2.8895833333333334, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '2624677', 'n_tokens_mistral': 746, 'n_tokens_neox': 695, 'n_words': 145}