<commit_before>= form_for(@planting, :html => {:class => "form-horizontal"}) do |f|
  - if @planting.errors.any?
    #error_explanation
      %h2= "#{pluralize(@planting.errors.count, "error")} prohibited this planting from being saved:"
      %ul
        - @planting.errors.full_messages.each do |msg|
          %li= msg

  .control-group
    = f.label 'What did you plant?', :class => 'control-label'
    .controls= collection_select(:planting, :crop_id, Crop.all(:order => :system_name), :id, :system_name, :selected => @crop.id)
  .control-group
    = f.label 'Where did you plant it?', :class => 'control-label'
    .controls= collection_select(:planting, :garden_id,
        Garden.where(:user_id => current_user), :id, :name, :selected => @garden.id)
  .control-group
    = f.label 'When?', :class => 'control-label'
    .controls= f.datetime_select :planted_at, options = { :include_blank => true }, html_options = { :class => "span1" }
  .control-group
    = f.label 'How many?', :class => 'control-label'
    .controls
      = f.number_field :quantity, :class => 'input-small'
  .control-group
    = f.label 'Tell us more about it', :class => 'control-label'
    .controls= f.text_area :description, :rows => 6

    .form-actions
      = f.submit 'Save', :class => 'btn'<commit_msg>Remove time field in planting/new PT 41633333<commit_after>= form_for(@planting, :html => {:class => "form-horizontal"}) do |f|
  - if @planting.errors.any?
    #error_explanation
      %h2= "#{pluralize(@planting.errors.count, "error")} prohibited this planting from being saved:"
      %ul
        - @planting.errors.full_messages.each do |msg|
          %li= msg

  .control-group
    = f.label 'What did you plant?', :class => 'control-label'
    .controls= collection_select(:planting, :crop_id, Crop.all(:order => :system_name), :id, :system_name, :selected => @crop.id)
  .control-group
    = f.label 'Where did you plant it?', :class => 'control-label'
    .controls= collection_select(:planting, :garden_id,
        Garden.where(:user_id => current_user), :id, :name, :selected => @garden.id)
  .control-group
    = f.label 'When?', :class => 'control-label'
    .controls= f.date_select :planted_at, options = { :include_blank => true }, html_options = { :class => "span1" }
  .control-group
    = f.label 'How many?', :class => 'control-label'
    .controls
      = f.number_field :quantity, :class => 'input-small'
  .control-group
    = f.label 'Tell us more about it', :class => 'control-label'
    .controls= f.text_area :description, :rows => 6

    .form-actions
      = f.submit 'Save', :class => 'btn'
{'fraction_non_alphanumeric': 0.17036753445635527, 'fraction_numerical': 0.005359877488514548, 'mean_word_length': 3.4138513513513513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 35, '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': '7640947', 'n_tokens_mistral': 900, 'n_tokens_neox': 876, 'n_words': 213}