This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-01-26 04:05:25 +00:00
|
|
|
<%= 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 %>
|
2012-11-27 03:15:15 +00:00
|
|
|
<a class="remove_mark" href="#"><%= t(:delete_) %></a>
|
2012-01-26 04:05:25 +00:00
|
|
|
<% end %>
|
|
|
|
<% if classes.include?('r_edit') %>
|
|
|
|
<a class="edit_mark" href="#"><%= t('Edit') %></a>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
2011-09-08 10:12:04 +00:00
|
|
|
<% end %>
|