<commit_before><%= form_for(@entry, html: { component: 'post_form', metadata: js_metadata }) do |f| %>
  <div class="main-fields">
    <% if @entry.errors.any? %>
      <ul>
        <% @entry.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    <% end %>

    <%= f.text_field :title, placeholder: Caz::Entry.human_attribute_name(:title), class: 'title' %>
    <%= f.text_field :slug, placeholder: Caz::Entry.human_attribute_name(:slug), class: 'slug' %>
    <%= f.text_area :content, placeholder: Caz::Entry.human_attribute_name(:content) %>
    <%= f.submit t('buttons.save') %>
  </div>
  <aside>

    <div class="grid-items">
      <div class="grid-item">
        <div class="grid-heading">
          <h1><%= f.label :categories %></h1>
        </div>
        <div class=grid-content>
          <%= f.collection_check_boxes(:category_ids, @categories, :id, :name) %>
        </div>
      </div>
    </div>
  </aside>
<% end %><commit_msg>Align checkbox labels<commit_after><%= form_for(@entry, html: { component: 'post_form', metadata: js_metadata }) do |f| %>
  <div class="main-fields">
    <% if @entry.errors.any? %>
      <ul>
        <% @entry.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    <% end %>

    <%= f.text_field :title, placeholder: Caz::Entry.human_attribute_name(:title), class: 'title' %>
    <%= f.text_field :slug, placeholder: Caz::Entry.human_attribute_name(:slug), class: 'slug' %>
    <%= f.text_area :content, placeholder: Caz::Entry.human_attribute_name(:content) %>
    <%= f.submit t('buttons.save') %>
  </div>
  <aside>

    <div class="grid-items">
      <div class="grid-item">
        <div class="grid-heading">
          <h1><%= f.label :categories %></h1>
        </div>
        <div class=grid-content>
          <%= f.collection_check_boxes(:category_ids, @categories, :id, :name) do |i| %>
            <%= i.label do %>
              <%= i.check_box %>
              <%= i.object.name %>
            <% end %>
          <% end %>
        </div>
      </div>
    </div>
  </aside>
<% end %>
{'fraction_non_alphanumeric': 0.20636406176883482, 'fraction_numerical': 0.0018717828731867104, 'mean_word_length': 2.5222405271828667, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 70, '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': '4134774', 'n_tokens_mistral': 786, 'n_tokens_neox': 725, 'n_words': 140}