Defect #42920 » attachments_form.patch
app/views/attachments/_form.html.erb (working copy) | ||
---|---|---|
15 | 15 |
<% if saved_attachments.present? %> |
16 | 16 |
<% saved_attachments.each_with_index do |attachment, i| %> |
17 | 17 |
<span id="attachments_p<%= i %>"> |
18 |
<%= sprite_icon('attachment', icon_only: true, size: 16, css_class: 'svg-attachment') %> |
|
18 | 19 |
<%= text_field_tag("#{attachment_param}[p#{i}][filename]", attachment.filename, :class => 'filename') %> |
19 | 20 |
<% if attachment.container_id.present? %> |
20 | 21 |
<%= link_to sprite_icon('del', l(:button_delete), icon_only: true), "#", :onclick => "$(this).closest('.attachments_form').find('.add_attachment').show(); $(this).parent().remove(); return false;", :class => 'icon-only icon-del' %> |
- « Previous
- 1
- 2
- Next »