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:
parent
49bdf62243
commit
bf3b2ec973
|
@ -83,7 +83,7 @@ end %>
|
||||||
<% form_tag({:controller => 'issues', :action => 'change_status', :id => @issue}) do %>
|
<% form_tag({:controller => 'issues', :action => 'change_status', :id => @issue}) do %>
|
||||||
<p><%=l(:label_change_status)%> :
|
<p><%=l(:label_change_status)%> :
|
||||||
<select name="new_status_id">
|
<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>
|
</select>
|
||||||
<%= submit_tag l(:button_change) %></p>
|
<%= submit_tag l(:button_change) %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue