%= f.fields_for field_name, design_file do |f| %>
>
<%= design_file.file_identifier %>
<% if classes.include?('r_destroy') %>
<%= f.hidden_field :id %>
<%= f.hidden_field :file %>
<%= f.hidden_field :to_destroy %>
<%= t('Delete') %>
<% end %>
<% if classes.include?('r_edit') %>
<%= t('Edit') %>
<% end %>
<% end %>