]> source.dussan.org Git - redmine.git/commitdiff
Merged r16835 (#26468).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Jul 2017 07:12:06 +0000 (07:12 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Jul 2017 07:12:06 +0000 (07:12 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@16846 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/attachments/_form.html.erb

index 6e19c230df17b531c9be477833ff6912994050e4..96c8c6476d6e0fa600523e224b6de812a819fff4 100644 (file)
@@ -16,7 +16,7 @@
           <%= hidden_field_tag "#{attachment_param}[p#{i}][id]", attachment.id %>
         <% else %>
           <%= text_field_tag("#{attachment_param}[p#{i}][description]", attachment.description, :maxlength => 255, :placeholder => l(:label_optional_description), :class => 'description') if description %>
-          <%= link_to('&nbsp;'.html_safe, attachment_path(attachment, :attachment_id => "p#{i}", :format => 'js'), :method => 'delete', :remote => true, :class => 'remove-upload') %>
+          <%= link_to('&nbsp;'.html_safe, attachment_path(attachment, :attachment_id => "p#{i}", :format => 'js'), :method => 'delete', :remote => true, :class => 'icon-only icon-del remove-upload') %>
           <%= hidden_field_tag "#{attachment_param}[p#{i}][token]", attachment.token %>
         <% end %>
       </span>