Skip to content

Commit 8ae9610

Browse files
use svg for author edit
1 parent faff439 commit 8ae9610

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: app/views/issues/_change_author.html.slim

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
- if author_options.present?
44
p#change_author
55
= form.label_for_field :author_id
6-
= link_to_function tag.span(l(:button_edit), class: 'icon icon-edit'), '$(this).hide(); $("#issue_author_id").show()'
6+
= link_to_function svg_icon_tag('edit', label: :button_edit, wrapper: :span, plugin: ''),
7+
'$(this).hide(); $("#issue_author_id").show()'
78
= form.select :author_id, author_options, { required: true, no_label: true }, style: 'display: none;'
89
javascript:
910
$('#change_author').insertBefore($('#issue_tracker_id').parent());

0 commit comments

Comments
 (0)