<commit_before>= simple_form_for(@manual, wrapper: :horizontal_form, html: {class: 'form-horizontal'}) do |f|
  = f.error_notification
  = f.input :warehouse_id, as: :select, collection: @warehouses, disabled: !@manual.new_record?
  = f.input :batch_id, as: :select, collection: @batches, disabled: !@manual.new_record?
  = f.input :quantity, disabled: !@manual.new_record?, :input_html => {:class => 'numeric'}
  - if @manual.new_record?
    = f.simple_fields_for :comments do |c|
      = c.input :body, as: :text
    .form-button-group
      .actions
        = f.submit class: 'btn btn-primary'
<commit_msg>added link to batch,close #170<commit_after>= simple_form_for(@manual, wrapper: :horizontal_form, html: {class: 'form-horizontal'}) do |f|
  = f.error_notification
  = f.input :warehouse_id, as: :select, collection: @warehouses, disabled: !@manual.new_record?

  - if @manual.new_record?
    = f.input :batch_id, as: :select, collection: @batches
  - else
    = render partial: 'shared/addon_show_link', locals: {form: f, label: :batch, value: f.object.batch.name, link: batch_path(f.object.batch_id)}


  = f.input :quantity, disabled: !@manual.new_record?, :input_html => {:class => 'numeric'}
  - if @manual.new_record?
    = f.simple_fields_for :comments do |c|
      = c.input :body, as: :text
    .form-button-group
      .actions
        = f.submit class: 'btn btn-primary'
{'fraction_non_alphanumeric': 0.15766738660907129, 'fraction_numerical': 0.0021598272138228943, 'mean_word_length': 4.129151291512915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '225652', 'n_tokens_mistral': 500, 'n_tokens_neox': 478, 'n_words': 115}