14 lines
561 B
Plaintext
14 lines
561 B
Plaintext
|
<%= f.fields_for field_name, design_file do |f| %>
|
||
|
<li class="<%= classes %>" <%="path='#{design_file.file.url}' filename='#{design_file.file_identifier}'" %> >
|
||
|
<%= design_file.file_identifier %>
|
||
|
<% if classes.include?('r_destroy') %>
|
||
|
<%= f.hidden_field :id %>
|
||
|
<%= f.hidden_field :file %>
|
||
|
<%= f.hidden_field :to_destroy %>
|
||
|
<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 %>
|