<commit_before><% if @parent %>
  <%= hidden_field_tag('parent_id', @parent.id) %>
<% else %>
  <h4><%= _('Choose folder to upload files:') %></h4>
  <%= select_tag('parent_id', options_for_select([[profile.identifier, '']] + @folders.collect {|f| [ f.name, f.id ] })) %>
<% end %>

<div id='uploaded_files'>
  <% 3.times do %>
    <%= render :partial => 'upload_file', :locals => {:size => size} %>
  <% end %>
</div>

<%= hidden_field_tag('back_to', @back_to) if @back_to %>

<% button_bar do %>
  <%= add_upload_file_field(_('More files'), {:size => size}) %>
  <% if @back_to == 'media_listing' %>
    <%= submit_button :save, _('Upload') %>
  <% elsif @back_url %>
    <%= submit_button :save, _('Upload'), :cancel => @back_url %>
  <% else %>
    <%= submit_button :save, _('Upload'), :cancel => {:action => (@parent ? 'view' : 'index'), :id => @parent } %>
  <% end %>
<% end %><commit_msg>ActionItem928: list folders with full name<commit_after><% if @parent %>
  <%= hidden_field_tag('parent_id', @parent.id) %>
<% else %>
  <h4><%= _('Choose folder to upload files:') %></h4>
  <%= select_tag('parent_id', options_for_select([[profile.identifier, '']] + @folders.collect {|f| [ profile.identifier + '/' +  f.full_name, f.id ] })) %>
<% end %>

<div id='uploaded_files'>
  <% 3.times do %>
    <%= render :partial => 'upload_file', :locals => {:size => size} %>
  <% end %>
</div>

<%= hidden_field_tag('back_to', @back_to) if @back_to %>

<% button_bar do %>
  <%= add_upload_file_field(_('More files'), {:size => size}) %>
  <% if @back_to == 'media_listing' %>
    <%= submit_button :save, _('Upload') %>
  <% elsif @back_url %>
    <%= submit_button :save, _('Upload'), :cancel => @back_url %>
  <% else %>
    <%= submit_button :save, _('Upload'), :cancel => {:action => (@parent ? 'view' : 'index'), :id => @parent } %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.2526939655172414, 'fraction_numerical': 0.004849137931034483, 'mean_word_length': 4.320916905444126, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 67, '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': '5985046', 'n_tokens_mistral': 767, 'n_tokens_neox': 679, 'n_words': 142}