<%= f.label "field_name", t('admin.' + field_name) %>
<ul>
  <% object.send(field_name).each do |t| %>
    <li class="<%= classes %>" <%="path='#{t.file.url}' filename='#{t.file_identifier}'" %>  > 
      <%= t.file_identifier %>
      <% if classes.include?('r_destroy') %>
        <%= fields_for "design[" + field_name + "][]", t, :index => nil do |f| %>
          <%= f.hidden_field :id %>
          <%= f.hidden_field :file %>
          <%= f.hidden_field :to_destroy %>
        <% end %>
        <a class="remove_mark" href="#"><%= t('Delete') %></a>
      <% end %>
      <% if classes.include?('r_edit') %>
        <a class="edit_mark" href="#"><%= t('Edit') %></a>
      <% end %>
    </li>
  <% end %>
</ul>
<p class="new_file">
<%= fields_for "design[new_files][" + field_name + "][]", object.send(field_name).build, :index => nil do |f| %>	
  <%= f.file_field :file, :class => "multi_files" %>
</p>
<% end %>