<commit_before><%= form_for @order, html: {class: 'form-horizontal'}, validate: true do |f| %>
  <%= bootstrap_flash %>
<% if @order.errors.any? %>
    <div class="container">
      <div class="alert alert-error">
        <h5><%= pluralize(@order.errors.count, "error") %> prohibited this order from being saved:</h5>

      <ul>
      <% @order.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
    </div>
  <% end %>
 <div class="container">
  <div class="well">
 
    <div class="row">
    <div class="span7">

    <div class="control-group required">
     <%= f.label :title, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :title, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :author, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :author, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :format, class: 'control-label' %>
    <div class="controls">
    <%= f.select :format, options_for_select(format_list, f.object.format), selected: @order.format %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :publication_date, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :publication_date, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :isbn, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :isbn, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :publisher, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :publisher, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :series, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :series, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :oclc, class: 'control-label' %>
    <div class="controls">
      <%= f.number_field :oclc, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :edition, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :edition, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :language, class: 'control-label'%>
    <div class="controls">
    <%= f.select :language, options_for_select(language_list, f.object.language), selected: @order.language %>
  </div>
</div>
<div class="span4">To aid Content Services staff, please enter as much title information as possible.</div><commit_msg>fix div in order form<commit_after><%= form_for @order, html: {class: 'form-horizontal'}, validate: true do |f| %>
  <%= bootstrap_flash %>
<% if @order.errors.any? %>
    <div class="container">
      <div class="alert alert-error">
        <h5><%= pluralize(@order.errors.count, "error") %> prohibited this order from being saved:</h5>

      <ul>
      <% @order.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
    </div>
  <% end %>
 <div class="container">
  <div class="well">
 
    <div class="row">
    <div class="span7">

    <div class="control-group required">
     <%= f.label :title, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :title, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :author, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :author, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :format, class: 'control-label' %>
    <div class="controls">
    <%= f.select :format, options_for_select(format_list, f.object.format), selected: @order.format %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :publication_date, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :publication_date, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :isbn, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :isbn, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group required">
    <%= f.label :publisher, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :publisher, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :series, class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :series, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :oclc, class: 'control-label' %>
    <div class="controls">
      <%= f.number_field :oclc, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :edition, class: 'control-label' %>
    <div class="controls">
    <%= f.text_field :edition, class: 'text-field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :language, class: 'control-label'%>
    <div class="controls">
    <%= f.select :language, options_for_select(language_list, f.object.language), selected: @order.language %>
  </div>
</div>
</div>
<div class="span4">To aid Content Services staff, please enter as much title information as possible.</div>
{'fraction_non_alphanumeric': 0.2062488376418077, 'fraction_numerical': 0.0014878184861446904, 'mean_word_length': 3.2048475371383893, 'pattern_counts': {'":': 0, '<': 172, '<?xml version=': 0, '>': 172, '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': '6414710', 'n_tokens_mistral': 1972, 'n_tokens_neox': 1851, 'n_words': 424}