<commit_before><div class="row">
  <div class="col-md-6 col-md-offset-3">
<!-- Should welcome both user types -->
<% if logged_in? %>
<h1 class="text-center">Welcome, <%= current_user.username %>!</h1>
<% end %>
   </div>
</div>

<div class="row">
  <div class="col-md-6 col-md-offset-3">
<!-- Zip code search form -->
    <div class="well">
      <p>Search for sales in you area by zip code:</p>
      <%= form_tag("/estatesales", method: "get") do %>
        <%= label_tag(:zip_code, "Zip Code:") %>
        <%= text_field_tag(:zip_code) %>
        <%= submit_tag("Search") %>
      <% end %>
    </div>
  </div>
</div>

<div class="sales-container">
<div class="row">
  <div class="col-md-12">

  <h2 class="text-center">Current Sales & Auctions: </h2>
  <table class="table table-hover table-responsive">
    <thead class="thead-default">
      <tr>
        <td></td>
        <td><h3><strong>Dates / Times</strong></h3></td>
        <td><h3><strong>Company / Name</strong></h3></td>
        <td><h3><strong>Location</strong></h3></td>
        <td><h3><strong>Distance</strong></h3></td>
      </tr>
    </thead>
    <tbody>
      <hr>
      <% @sales.each do |sale| %>
      <tr>
        <td><%=sale.featured_photo %></td><commit_msg>Try to display featured photo on index page<commit_after><div class="row">
  <div class="col-md-6 col-md-offset-3">
<!-- Should welcome both user types -->
<% if logged_in? %>
<h1 class="text-center">Welcome, <%= current_user.username %>!</h1>
<% end %>
   </div>
</div>

<div class="row">
  <div class="col-md-6 col-md-offset-3">
<!-- Zip code search form -->
    <div class="well">
      <p>Search for sales in you area by zip code:</p>
      <%= form_tag("/estatesales", method: "get") do %>
        <%= label_tag(:zip_code, "Zip Code:") %>
        <%= text_field_tag(:zip_code) %>
        <%= submit_tag("Search") %>
      <% end %>
    </div>
  </div>
</div>

<div class="sales-container">
<div class="row">
  <div class="col-md-12">

  <h2 class="text-center">Current Sales & Auctions: </h2>
  <table class="table table-hover table-responsive">
    <thead class="thead-default">
      <tr>
        <td></td>
        <td><h3><strong>Dates / Times</strong></h3></td>
        <td><h3><strong>Company / Name</strong></h3></td>
        <td><h3><strong>Location</strong></h3></td>
        <td><h3><strong>Distance</strong></h3></td>
      </tr>
    </thead>
    <tbody>
      <hr>
      <% @sales.each do |sale| %>
      <tr>
        <td><%=sale.featured_photo do %>
              <%= image_tag("sale.featured_photo") %>
            <% end %>
        </td>
{'fraction_non_alphanumeric': 0.2274479568234387, 'fraction_numerical': 0.013878180416345412, 'mean_word_length': 2.7124463519313307, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, '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': '2215188', 'n_tokens_mistral': 995, 'n_tokens_neox': 920, 'n_words': 183}