additionals/app/views/issues/_change_author_bulk.html.slim
2021-04-18 13:34:55 +02:00

8 lines
359 B
Plaintext

- if @project && User.current.allowed_to?(:edit_issue_author, @project)
- author_options = author_options_for_select @project
- if author_options.present?
p#change_author
= label_tag 'issue[author_id]', l(:field_author)
= select_tag 'issue[author_id]',
tag.option(l(:label_no_change_option), value: '') + author_options