git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10493
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<div class="splitcontent">
<div class="splitcontentleft">
-<% if @issue.safe_attribute? 'status_id' %>
+<% 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>