Change status select box default to current status (Rocco Stanzione).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1016 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-12-19 20:23:03 +00:00
parent 49bdf62243
commit bf3b2ec973
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ end %>
<% form_tag({:controller => 'issues', :action => 'change_status', :id => @issue}) do %>
<p><%=l(:label_change_status)%> :
<select name="new_status_id">
<%= options_from_collection_for_select @status_options, "id", "name" %>
<%= options_from_collection_for_select @status_options, "id", "name", @issue.status_id %>
</select>
<%= submit_tag l(:button_change) %></p>
<% end %>