<commit_before><div> <%= link_to "Create Category", new_category_path, class: "btn" %> </div>

<% categories.each do |category| %>
  <div class="row">
    <div class="card file-card col m8 offset-m2">
      <div class="card-content">
        <span class="card-title">Category:
        <% if [category.children, category.notes, category.photos].all?(&:empty?) %>
          <%= link_to category.name + " (No items)", category, class: "link-color" %>
        <% else %>
          <%= link_to category.name + " (#{item_count(category)})", category, class: "link-color" %>
        <% end %></span>
      </div>
    </div>
  </div>
<% end %>

<% if notes %>
  <% notes.each do |note| %>
    <p><%= link_to note.name, note %></p>
  <% end %>
<% end %>

<% if photos %>
  <% photos.each do |photo| %>
    <p><%= link_to photo.name, photo %></p>
  <% end %>
<% end %>
<commit_msg>Finished aligning buttons and cards from dashboard<commit_after><div> <%= link_to "Create Category", new_category_path, class: "btn" %> </div>

<% categories.each do |category| %>
  <div class="row">
    <div class="card file-card col m8 m2">
      <div class="card-content">
        <span class="card-title">Category:
        <% if [category.children, category.notes, category.photos].all?(&:empty?) %>
          <%= link_to category.name + " (No items)", category, class: "link-color" %>
        <% else %>
          <%= link_to category.name + " (#{item_count(category)})", category, class: "link-color" %>
        <% end %></span>
      </div>
    </div>
  </div>
<% end %>

<% if notes %>
  <% notes.each do |note| %>
    <p><%= link_to note.name, note %></p>
  <% end %>
<% end %>

<% if photos %>
  <% photos.each do |photo| %>
    <p><%= link_to photo.name, photo %></p>
  <% end %>
<% end %>

{'fraction_non_alphanumeric': 0.21952595936794583, 'fraction_numerical': 0.002257336343115124, 'mean_word_length': 2.888157894736842, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '6420022', 'n_tokens_mistral': 668, 'n_tokens_neox': 594, 'n_words': 148}