<commit_before>%form.post{ action: @post.new_record? ? '/admin/new' : "/admin/edit/#{@post.id}", method: 'post' }
  = form_field @post, :title
  = form_field @post, :body, type: :textarea
  = form_field @post, :slug, label: 'URL Slug', extra: "Previous slugs: #{@post.previous_slugs.join ', '}"
  = form_field @post, :published_at
  = form_field @post, :status

  .buttons
    %input{ type: 'submit' }<commit_msg>Complete Post form<commit_after>%form.post{ action: @post.new_record? ? '/admin/new' : "/admin/edit/#{@post.id}", method: 'post' }
  = form_field @post, :title
  = form_field @post, :link
  = form_field @post, :body, type: :textarea
  = form_field @post, :slug, label: 'URL Slug', extra: @post.previous_slugs.any? ? "Previous slugs: #{@post.previous_slugs.join ', '}" : nil
  = form_field @post, :published_at
  = form_field @post, :status
  = form_field @post, :summary
  = form_field @post, :read_more, label: "'Read More' Link Text"

  .buttons
    %input{ type: 'submit', value: @post.new_record? ? 'Create Post' : 'Update Post' }
{'fraction_non_alphanumeric': 0.18433619866284623, 'fraction_numerical': 0.0, 'mean_word_length': 4.60427807486631, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1766304', 'n_tokens_mistral': 384, 'n_tokens_neox': 383, 'n_words': 94}