<commit_before><%= form_for [refinery, :slides_admin, @slide] do |f| -%>
  <%= render '/refinery/admin/error_messages',
              :object => @slide,
              :include_object_name => true %>


  <div class='field'>
    <%= f.label :title -%>
    <%= f.text_field :title, :class => 'larger widest'  -%>
  </div>

  <div class='field'>
    <%= f.label :link -%>
    <%= f.text_field :link, :class => 'widest' -%>
  </div>

  <div class='field'>
    <%= f.label :image -%>
    <%= render '/refinery/admin/image_picker',
               :f => f,
               :field => :image_id,
               :image => @slide.image,
               :toggle_image_display => false %>
  </div>

  <div class='field'>
    <div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
      <ul id='page_parts'>
        <% [:content].each_with_index do |part, part_index| %>
          <li class='ui-state-default<%= ' ui-state-active' if part_index == 0 %>'>
            <%= link_to t("#{part}", :scope => "activerecord.attributes.refinery/slides/slide", :default => part.to_s.titleize), "##{part}" %>
          </li>
        <% end %>
      </ul>
      <div id='page_part_editors'>
        <% [:content].each do |part| %>
          <div class='page_part' id='<%= part %>'>
            <%= f.text_area part, :rows => 20, :class => 'wymeditor widest' -%>
          </div>
        <% end %>
      </div>
    </div>

  </div>

  <div class='field'>
    <%= f.label :live_at %>
    <%= f.datetime_select :live_at, :include_blank => false %>
  </div>

  <div class='field'>
    <%= f.label :down_at %>
    <%= f.datetime_select :down_at, :include_blank => true %>
  </div><commit_msg>show AM/PM on date selectors<commit_after><%= form_for [refinery, :slides_admin, @slide] do |f| -%>
  <%= render '/refinery/admin/error_messages',
              :object => @slide,
              :include_object_name => true %>


  <div class='field'>
    <%= f.label :title -%>
    <%= f.text_field :title, :class => 'larger widest'  -%>
  </div>

  <div class='field'>
    <%= f.label :link -%>
    <%= f.text_field :link, :class => 'widest' -%>
  </div>

  <div class='field'>
    <%= f.label :image -%>
    <%= render '/refinery/admin/image_picker',
               :f => f,
               :field => :image_id,
               :image => @slide.image,
               :toggle_image_display => false %>
  </div>

  <div class='field'>
    <div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
      <ul id='page_parts'>
        <% [:content].each_with_index do |part, part_index| %>
          <li class='ui-state-default<%= ' ui-state-active' if part_index == 0 %>'>
            <%= link_to t("#{part}", :scope => "activerecord.attributes.refinery/slides/slide", :default => part.to_s.titleize), "##{part}" %>
          </li>
        <% end %>
      </ul>
      <div id='page_part_editors'>
        <% [:content].each do |part| %>
          <div class='page_part' id='<%= part %>'>
            <%= f.text_area part, :rows => 20, :class => 'wymeditor widest' -%>
          </div>
        <% end %>
      </div>
    </div>

  </div>

  <div class='field'>
    <%= f.label :live_at %>
    <%= f.datetime_select :live_at, :include_blank => false, :ampm => true %>
  </div>

  <div class='field'>
    <%= f.label :down_at %>
    <%= f.datetime_select :down_at, :include_blank => true, :ampm => true %>
  </div>
{'fraction_non_alphanumeric': 0.20863729209220894, 'fraction_numerical': 0.0017508024511234317, 'mean_word_length': 2.296153846153846, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 117, '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': '5623975', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1196, 'n_words': 241}