orbit-4-2/app/views/admin/designs/_design_file.html.erb

14 lines
561 B
Plaintext
Raw Normal View History

<%= 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 %>