<commit_before><%= render :partial => "action_nav" %>

<% form_for Asset.new, :url => admin_assets_path, :html => { :multipart => true, :id => 'asset_form' } do |f| %>
  <p>
    <label id="file-label">Select files to upload</label>
    <label id="title-label">Title</label>
    <label id="taglist-label">Tags (space separated)</label>
  </p>
  <fieldset id="files">
    <% @assets.each_with_index do |asset, i| %>
      <p>
        <%= file_field_tag "assets[][uploaded_data]", :id => "assets_data_1" %>
        <%= text_field_tag "assets[][title]", asset.title, :class => 'title_field' %>
        <%= text_field_tag "assets[][tag_list]", asset.tag_list, :class => 'taglist_field' %>
        <a href="#" class="remove-file" title="remove this file field" style="display: none;"><%= image_tag '/images/icons/delete.png' %></a>
        <a href="#" class="tagall-files" id="tagall-files" style="display: none">Apply tags to all</a>
      </p>
    <% end %>
  </fieldset>
  <a href="#" id="asset-add-file" class="widetab">Add another file</a>  

  <p class="buttons">
    <%= submit_tag 'Upload Asset(s)' %> or
    <%= link_to 'Cancel', admin_assets_path %>
  </p>
<% end -%><commit_msg>inline asset list header labels<commit_after><%= render :partial => "action_nav" %>

<% form_for Asset.new, :url => admin_assets_path, :html => { :multipart => true, :id => 'asset_form' } do |f| %>
  <p>
    <label id="file-label" class="inline">Select files to upload</label>
    <label id="title-label" class="inline">Title</label>
    <label id="taglist-label" class="inline">Tags (space separated)</label>
  </p>
  <fieldset id="files">
    <% @assets.each_with_index do |asset, i| %>
      <p>
        <%= file_field_tag "assets[][uploaded_data]", :id => "assets_data_1" %>
        <%= text_field_tag "assets[][title]", asset.title, :class => 'title_field' %>
        <%= text_field_tag "assets[][tag_list]", asset.tag_list, :class => 'taglist_field' %>
        <a href="#" class="remove-file" title="remove this file field" style="display: none;"><%= image_tag '/images/icons/delete.png' %></a>
        <a href="#" class="tagall-files" id="tagall-files" style="display: none">Apply tags to all</a>
      </p>
    <% end %>
  </fieldset>
  <a href="#" id="asset-add-file" class="widetab">Add another file</a>  

  <p class="buttons">
    <%= submit_tag 'Upload Asset(s)' %> or
    <%= link_to 'Cancel', admin_assets_path %>
  </p>
<% end -%>
{'fraction_non_alphanumeric': 0.21284479209551255, 'fraction_numerical': 0.0008233841086867024, 'mean_word_length': 3.919028340080972, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 81, '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': '1889041', 'n_tokens_mistral': 890, 'n_tokens_neox': 841, 'n_words': 187}