<commit_before><%= content_for(:title, @bottle.name) %>

<div class="page-header">
  <%= link_to "Edit", edit_bottle_path(@bottle), class: "btn btn-primary float-xs-right" %>
  <%= link_to "Duplicate", duplicate_bottle_path(@bottle), class: "btn btn-outline-primary mr-1 float-xs-right" %>
  <h1><%= @bottle.name %></h1>
</div>

<div class="row">
  <div class="col-md-6">
    <table class="table">
      <tr>
        <td><strong>Spirit</strong></td>
        <td><%= @bottle.spirit%></td>
      </tr>
      <tr>
        <td><strong>Producer</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Release Year</strong></td>
        <td><%= @bottle.release_year %></td>
      </tr>
      <tr>
        <td><strong>Proof</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Volume</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Price</strong></td>
        <td><%= @bottle.price %></td>
      </tr>
    </table>
  </div>

  <div class="col-md-6">
    <table class="table">
      <tr>
        <td><strong>Bottle Location</strong></td>
        <td><%= @bottle.location %></td>
      </tr>
      <tr>
        <td><strong>Source</strong></td>
        <td><%= @bottle.source%></td>
      </tr>
      <tr>
        <td><strong>Acquired On</strong></td>
        <td><%= @bottle.acquired_on %></td>
      </tr>
      <tr>
        <td><strong>Open</strong></td>
        <td><%= @bottle.open? ? "Yes" : "No" %></td>
      </tr>
      <tr>
        <td><strong>Finished On</strong></td>
        <td><%= @bottle.finished_on %></td>
      </tr>
    </table>
  </div>
</div>

<div class="card">
  <div class="card-block">
    <h4 class="card-title">Notes</h4>
    <%= @bottle.notes %>
  </div>
</div><commit_msg>Added bottle delete link. Fixes #13<commit_after><%= content_for(:title, @bottle.name) %>

<div class="page-header">
  <%= link_to "Edit", edit_bottle_path(@bottle), class: "btn btn-primary float-xs-right" %>
  <%= link_to "Duplicate", duplicate_bottle_path(@bottle), class: "btn btn-outline-primary mr-1 float-xs-right" %>
  <h1><%= @bottle.name %></h1>
</div>

<div class="row">
  <div class="col-md-6">
    <table class="table">
      <tr>
        <td><strong>Spirit</strong></td>
        <td><%= @bottle.spirit%></td>
      </tr>
      <tr>
        <td><strong>Producer</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Release Year</strong></td>
        <td><%= @bottle.release_year %></td>
      </tr>
      <tr>
        <td><strong>Proof</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Volume</strong></td>
        <td><%= @bottle.producer %></td>
      </tr>
      <tr>
        <td><strong>Price</strong></td>
        <td><%= @bottle.price %></td>
      </tr>
    </table>
  </div>

  <div class="col-md-6">
    <table class="table">
      <tr>
        <td><strong>Bottle Location</strong></td>
        <td><%= @bottle.location %></td>
      </tr>
      <tr>
        <td><strong>Source</strong></td>
        <td><%= @bottle.source%></td>
      </tr>
      <tr>
        <td><strong>Acquired On</strong></td>
        <td><%= @bottle.acquired_on %></td>
      </tr>
      <tr>
        <td><strong>Open</strong></td>
        <td><%= @bottle.open? ? "Yes" : "No" %></td>
      </tr>
      <tr>
        <td><strong>Finished On</strong></td>
        <td><%= @bottle.finished_on %></td>
      </tr>
    </table>
  </div>
</div>

<div class="card">
  <div class="card-block">
    <h4 class="card-title">Notes</h4>
    <%= @bottle.notes %>
  </div>
</div>

<%= link_to "Delete", bottle_path(@bottle), method: :delete, class: "text-danger", data: { confirm: "Are you sure you want to delete this bottle?" } %>
{'fraction_non_alphanumeric': 0.24445603965562224, 'fraction_numerical': 0.004174276024002087, 'mean_word_length': 2.313742437337943, 'pattern_counts': {'":': 0, '<': 252, '<?xml version=': 0, '>': 252, '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': '4635004', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1493, 'n_words': 258}