<commit_before><div class="container">
  <% if logged_in? %>

  <h1><%=@user.name%>'s RecipeFinder</h1>

  <form class="add-ingredient">
    <input type="text">
    <button>Add Ingredient</button>
  </form>

  <form class="find-recipes" method="get" action="/recipes">
    <button>Find Recipes!</button>
  </form>

  <div class="ingredient-container">
    <h3>Ingredients</h3>
    <form class="ingredient-list"></form>
    <button class="delete-selected">Delete Selected</button>
  </div>

  <div class="recipe-container">
    <h3>Recipes</h3>
    <ul class="recipe-list"></ul>
  </div>

  <div class="ingredient-template" style="display: none;">
    <div class="ingredient-item">
      <input type="checkbox" name="ingredient" value="">
      <span></span>
    </div>
  </div>


  <% else %>
    <h1>Welcome! Please Log In</h1>
  <% end %>
</div><commit_msg>Adds template for recipe items Minor tweaks to checkbox functionality and how username is retrieved<commit_after><div class="container">
  <% if logged_in? %>

  <h1><%=session[:user_name]%>'s RecipeFinder</h1>

  <form class="add-ingredient">
    <input type="text">
    <button>Add Ingredient</button>
  </form>

  <form class="find-recipes" method="get" action="/recipes">
    <button>Find Recipes!</button>
  </form>

  <div class="ingredient-container">
    <h3>Ingredients</h3>
    <form class="ingredient-list"></form>
    <button class="delete-selected">Delete Selected Ingredients</button>
  </div>

  <div class="recipe-container">
    <h3>Recipes</h3>
    <ul class="recipe-list"></ul>
  </div>

  <div class="ingredient-template" style="display: none;">
    <div class="ingredient-item">
      <input type="checkbox" name="ingredient" value="" checked>
      <span></span>
    </div>
  </div>

  <div class="recipe-template" style="display: none;">
    <figure class="recipe-item">
      <img>
      <figcaption></figcaption>
    </figure>
  </div>

  <% else %>
    <h1>Welcome! Please Log In</h1>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.19466800804828974, 'fraction_numerical': 0.008048289738430584, 'mean_word_length': 3.792771084337349, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 90, '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': '6236338', 'n_tokens_mistral': 735, 'n_tokens_neox': 693, 'n_words': 135}