<commit_before><h1>Your Clothes</h1>

<% if @user.clothing_articles.any? %>
  <h3>You Have Worn:</h3>
    <% @worn_clothing_articles.each do |clothing_article| %>
      <div class="col-md-6" align="center">
        <p>
          <%= link_to image_tag(clothing_article.photo.url(:medium)), user_clothing_article_path(clothing_article.user_id, clothing_article.id)%><br>
          <%#= link_to clothing_article.description, user_clothing_article_path(clothing_article.user_id, clothing_article.id) %><br>
          <!-- Color: <%#= clothing_article.color %><br> -->
          <!-- Category: <#%= clothing_article.clothing_category.category %><br> -->
          Last Worn On: <%= clothing_article.last_worn_on %>
        </p><br><br>
      </div>
    <% end %>


  <% if !@unworn_clothing_articles.empty? %>
      <h3>You Haven't Worn:</h3>
      <% @unworn_clothing_articles.each do |clothing_article| %>
        <div class="col-md-6" align="center">
          <p>
            <%= link_to image_tag(clothing_article.photo.url(:medium)), user_clothing_article_path(clothing_article.user_id, clothing_article.id)%><br>
          </p>
        </div>
      <% end %>
  <% end %>
<% else %>
  <h3>
    <%= @user.name %>, you haven't added any clothes yet, go add some <%= link_to "here!", new_user_clothing_article_path(@user) %>
  </h3>
<% end %><commit_msg>Tweaks to clothing article show page<commit_after><h1>Your Clothes</h1>

<% if @user.clothing_articles.any? %>
  <h3>You Have Worn:</h3>
    <% @worn_clothing_articles.each do |clothing_article| %>
      <div class="col-md-6" align="center">
        <p>
          <%= link_to image_tag(clothing_article.photo.url(:medium)), user_clothing_article_path(clothing_article.user_id, clothing_article.id)%><br>
          <%#= link_to clothing_article.description, user_clothing_article_path(clothing_article.user_id, clothing_article.id) %><br>
          <!-- Color: <%#= clothing_article.color %><br> -->
          <!-- Category: <#%= clothing_article.clothing_category.category %><br> -->
          Last Worn On: <%= clothing_article.last_worn_on %>
        </p><br><br>
      </div>
    <% end %>

<div class="clearfix"></div>
  <% if !@unworn_clothing_articles.empty? %>
      <h3>You Haven't Worn:</h3>
      <% @unworn_clothing_articles.each do |clothing_article| %>
        <div class="col-md-6" align="center">
          <p>
            <%= link_to image_tag(clothing_article.photo.url(:medium)), user_clothing_article_path(clothing_article.user_id, clothing_article.id)%><br>
          Last Worn On: <%= clothing_article.last_worn_on %>
          </p>
        </div>
      <% end %>
  <% end %>
<% else %>
  <h3>
    <%= @user.name %>, you haven't added any clothes yet, go add some <%= link_to "here!", new_user_clothing_article_path(@user) %>
  </h3>
<% end %>
{'fraction_non_alphanumeric': 0.17365056818181818, 'fraction_numerical': 0.007102272727272727, 'mean_word_length': 3.300763358778626, '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': '4141141', 'n_tokens_mistral': 1052, 'n_tokens_neox': 977, 'n_words': 157}