<commit_before><div class="row">
  <div class="col-md-6">
    <div class="form-group">
      <%= f.label image_attr, label.html_safe, :class => 'control-label' %>
      <%= f.file_field image_attr, :multiple => multiple, :class => 'form-control' %>
      <%= f.hidden_field "#{image_attr}_cache".to_sym %>
    </div>

    <% if local_assigns[:accepts_remote] -%>
      <div class="form-group">
        <%= f.label "remote_#{image_attr.to_s}_url".to_sym, 'or image URL', :class => 'control-label' %>
        <%= f.text_field "remote_#{image_attr.to_s}_url".to_sym, :class => 'form-control' %>
      </div>
    <% end -%>
  </div>

  <div class="col-md-4 col-md-offset-2">
    <% if multiple -%>
      <% f.object.send(image_attr).each do |i| -%>
        <%= image_tag i.url(preview_version) %>
      <% end -%><commit_msg>Image Select<commit_after><div class="row">
  <div class="col-md-6">
    <div class="form-group">
      <%= f.label image_attr, label.html_safe, :class => 'control-label' %>
      <%= f.file_field image_attr, :multiple => multiple, :class => 'form-control' %>
      <% unless multiple -%>
      	<%= f.hidden_field "#{image_attr}_cache".to_sym %>
      <% end -%>	
    </div>

    <% if local_assigns[:accepts_remote] -%>
      <div class="form-group">
        <%= f.label "remote_#{image_attr.to_s}_url".to_sym, 'or image URL', :class => 'control-label' %>
        <%= f.text_field "remote_#{image_attr.to_s}_url".to_sym, :class => 'form-control' %>
      </div>
    <% end -%>
  </div>

  <div class="col-md-4 col-md-offset-2">
    <% if multiple -%>
      <% f.object.send(image_attr).each do |i| -%>
        <%= image_tag i.url(preview_version) %>
      <% end -%>
{'fraction_non_alphanumeric': 0.2143280047365305, 'fraction_numerical': 0.003552397868561279, 'mean_word_length': 2.8850574712643677, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 53, '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': '7380014', 'n_tokens_mistral': 666, 'n_tokens_neox': 629, 'n_words': 102}