summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_attributes.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/_attributes.html.erb')
-rw-r--r--app/views/issues/_attributes.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb
index b5003c436..d5dec6ad7 100644
--- a/app/views/issues/_attributes.html.erb
+++ b/app/views/issues/_attributes.html.erb
@@ -3,6 +3,9 @@
<div class="splitcontent">
<div class="splitcontentleft">
<% if @issue.safe_attribute?('status_id') && @allowed_statuses.present? %>
+<% if User.current.allowed_to?(:change_issue_author, @project) %>
+ <p><%= f.select :author_id, author_options_for_select(@issue, @project), :include_blank => false, :required => true %></p>
+<% end %>
<p>
<%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), {:required => true},
:onchange => "updateIssueFrom('#{escape_javascript(update_issue_form_path(@project, @issue))}', this)" %>