<commit_before><%= render 'menu' %>

<div class="clearfix">

  <div id="content_browser">

    <% form_tag(admin_images_path, :method => :get) do %>
      <fieldset>
        <legend>Search by filename</legend>
        <label for="q">Keyword</label> 
        <br />
        <%= text_field_tag :q, params[:q], :size => 15 %>
				<%= hidden_field_tag(:popup, 'true') if(params[:popup] && !params[:popup].empty?) %>
        <input type="submit" value="Go" />
      </fieldset>
    <% end %>

    <% if @tags %>
    <fieldset class="tag_list">
      <legend>Tags</legend>
      <% for tag in @tags %>
        <span><%= link_to tag.name, url_for(:overwrite_params => {:tag => tag.name}) %></span>
      <% end %>
      <br clear="left" />
      <% if @tag %>
      <p><%= link_to '(Clear)', admin_images_path %></p>
      <% end %>
    </fieldset>
    <% end %>

  </div>

  <div id="page_attachments">

    <% for image in @images -%>
      <div class="thumb">
      <%= link_to image_tag(image.file.url('thumb')), admin_image_path(image, params), :title => image.title %>
      </div>
    <% end %>

    <br clear="left" />

    <%= will_paginate @images %>


  </div>

</div><commit_msg>changed image id generation<commit_after><%= render 'menu' %>

<div class="clearfix">

  <div id="content_browser">

    <% form_tag(admin_images_path, :method => :get) do %>
      <fieldset>
        <legend>Search by filename</legend>
        <label for="q">Keyword</label> 
        <br />
        <%= text_field_tag :q, params[:q], :size => 15 %>
				<%= hidden_field_tag(:popup, 'true') if(params[:popup] && !params[:popup].empty?) %>
        <input type="submit" value="Go" />
      </fieldset>
    <% end %>

    <% if @tags %>
    <fieldset class="tag_list">
      <legend>Tags</legend>
      <% for tag in @tags %>
        <span><%= link_to tag.name, url_for(:overwrite_params => {:tag => tag.name}) %></span>
      <% end %>
      <br clear="left" />
      <% if @tag %>
      <p><%= link_to '(Clear)', admin_images_path %></p>
      <% end %>
    </fieldset>
    <% end %>

  </div>

  <div id="page_attachments">

    <% for image in @images -%>
      <div class="thumb">
      <%= link_to image_tag(image.file.url('thumb')), admin_image_path(image.id, params), :title => image.title %>
      </div>
    <% end %>

    <br clear="left" />

    <%= will_paginate @images %>


  </div>

</div>
{'fraction_non_alphanumeric': 0.21257861635220127, 'fraction_numerical': 0.0016771488469601676, 'mean_word_length': 2.598793363499246, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 99, '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': '5194158', 'n_tokens_mistral': 915, 'n_tokens_neox': 812, 'n_words': 170}