diff options
Diffstat (limited to 'app/views/issues/_attributes.html.erb')
-rw-r--r-- | app/views/issues/_attributes.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb index 7cae91f0c..01d262e57 100644 --- a/app/views/issues/_attributes.html.erb +++ b/app/views/issues/_attributes.html.erb @@ -5,9 +5,9 @@ <% if @issue.safe_attribute?('status_id') && @allowed_statuses.present? %> <p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), {:required => true}, :onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')" %></p> - +<%= hidden_field_tag 'was_default_status', @issue.status_id, :id => nil if @issue.status == @issue.default_status %> <% else %> -<p><label><%= l(:field_status) %></label> <%= h(@issue.status.name) %></p> +<p><label><%= l(:field_status) %></label> <%= @issue.status %></p> <% end %> <% if @issue.safe_attribute? 'priority_id' %> |