<commit_before>= bootstrap_form_for(@crop) do |f|
  .card.col-12.col-md-8.mx-auto.float-none.white
    .card-header
      - if content_for? :title
        %h1.h2-responsive.text-center
          %strong=yield :title
    .card-body
      - if @crop.errors.any?
        #error_explanation
          %h3
            = pluralize(@crop.errors.size, "error")
            prohibited this crop from being saved:
          %ul
            - @crop.errors.full_messages.each do |msg|
              %li= msg

      -# Handy link to crop wrangling policy/style guide, shown to wranglers only
      - if can? :wrangle, @crop
        %p
          %span.help-block
            For detailed crop wrangling guidelines, please consult the
            = link_to "crop wrangling guide", "http://wiki.growstuff.org/index.php/Crop_wrangling"
            on the Growstuff wiki.

      -# Everyone (wranglers and requesters) sees the basic info section
      %h2 Basic information
<commit_msg>Move crop form error messages to alert<commit_after>= bootstrap_form_for(@crop) do |f|
  - if @crop.errors.any?
    #error_explanation.alert.alert-warning{role: "alert"}
      %h3
        = pluralize(@crop.errors.size, "error")
        prohibited this crop from being saved:
      %ul
        - @crop.errors.full_messages.each do |msg|
          %li= msg

  .card.col-12.col-md-8.mx-auto.float-none.white
    .card-header
      - if content_for? :title
        %h1.h2-responsive.text-center
          %strong=yield :title
    .card-body
      -# Handy link to crop wrangling policy/style guide, shown to wranglers only
      - if can? :wrangle, @crop
        %p
          %span.help-block
            For detailed crop wrangling guidelines, please consult the
            = link_to "crop wrangling guide", "http://wiki.growstuff.org/index.php/Crop_wrangling"
            on the Growstuff wiki.

      -# Everyone (wranglers and requesters) sees the basic info section
      %h2 Basic information

{'fraction_non_alphanumeric': 0.10183299389002037, 'fraction_numerical': 0.007128309572301426, 'mean_word_length': 2.114104595879556, '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': '5913780', 'n_tokens_mistral': 635, 'n_tokens_neox': 606, 'n_words': 161}