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

      = f.text_field :name, maxlength: 255, required: true
      = f.text_area :description, rows: 6

      = f.text_field :location,
                      value: @garden.location || current_member.location,
                      class: 'form-control', maxlength: 255
      %span.help-block
        = t('.location_helper')
        - if current_member.location.blank?
          = link_to "Set your location now.", edit_member_registration_path
        - else
          = link_to "Change your location.", edit_member_registration_path
      .row
        .col-md-3.col-12= f.number_field :area, class: 'input-small'
        .col-md-3.col-12= f.select(:area_unit, Garden::AREA_UNITS_VALUES, { include_blank: false })
        .col-md-6.col-12= f.select(:garden_type_id, GardenType.all.order(:name).pluck(:name, :id),
                          selected: @garden.garden_type_id)
      .row
        .col-12
          = f.check_box :active, label: 'Active?'
          %p
            You can mark a garden as inactive if you no longer use it. 
            Note: this will mark all plantings in the garden as "finished".
    .card-footer
      .text-right= f.submit 'Save Garden'<commit_msg>More room on gardens form<commit_after>.card.col-md-8.col-lg-7.mx-auto.float-none.white.z-depth-1.py-2.px-2
  = bootstrap_form_for(@garden) do |f|
    - if content_for? :title
      .card-header
        %h1.h2-responsive.text-center
          %strong=yield :title
    .card-body
      = required_field_help_text
      - if @garden.errors.any?
        #error_explanation
          %h2
            = pluralize(@garden.errors.size, "error")
            prohibited this garden from being saved:
          %ul
            - @garden.errors.full_messages.each do |msg|
              %li= msg

      = f.text_field :name, maxlength: 255, required: true
      = f.text_area :description, rows: 6

      = f.text_field :location,
                      value: @garden.location || current_member.location,
                      class: 'form-control', maxlength: 255
      %span.help-block
        = t('.location_helper')
        - if current_member.location.blank?
          = link_to "Set your location now.", edit_member_registration_path
        - else
          = link_to "Change your location.", edit_member_registration_path
      .row
        .col-md-5.col-12= f.number_field :area, class: 'input-small'
        .col-md-7.col-12= f.select(:area_unit, Garden::AREA_UNITS_VALUES, { include_blank: false })
        .col-12= f.select(:garden_type_id, GardenType.all.order(:name).pluck(:name, :id),
                          selected: @garden.garden_type_id)
        .col-12
          = f.check_box :active, label: 'Active?'
          %p
            You can mark a garden as inactive if you no longer use it. 
            Note: this will mark all plantings in the garden as "finished".
    .card-footer
      .text-right= f.submit 'Save Garden'
{'fraction_non_alphanumeric': 0.11737629459148446, 'fraction_numerical': 0.014672036823935558, 'mean_word_length': 1.9819897084048028, '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': '3846877', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1090, 'n_words': 240}