From 5d9b4f1b218c82fbf0d9b0e351ea54c3d0070770 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Nov 2015 08:21:57 +0000 Subject: [PATCH] Merged r14753 (#21085). git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14807 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 8c3bf946c..9449938c1 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -24,7 +24,7 @@ <% if @issue.safe_attribute? 'description' %>

<%= f.label_for_field :description, :required => @issue.required_attribute?('description') %> - <%= link_to_function image_tag('edit.png'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %> + <%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %> <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %> <%= f.text_area :description, :cols => 60, -- 2.39.5