2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_issue)%> #<%= @issue.id %>: <%= @issue.subject %></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
<%= error_messages_for 'history' %>
|
2006-09-02 17:33:23 +04:00
|
|
|
<%= start_form_tag({:action => 'change_status', :id => @issue}, :class => "tabular") %>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
<%= hidden_field_tag 'confirm', 1 %>
|
|
|
|
<%= hidden_field 'history', 'status_id' %>
|
2006-07-29 13:32:58 +04:00
|
|
|
|
|
|
|
<div class="box">
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label><%=l(:label_issue_status_new)%></label> <%= @history.status.name %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label>
|
2006-06-28 22:11:03 +04:00
|
|
|
<select name="issue[assigned_to_id]">
|
|
|
|
<option value=""></option>
|
|
|
|
<%= options_from_collection_for_select @assignable_to, "id", "display_name", @issue.assigned_to_id %></p>
|
|
|
|
</select></p>
|
2006-11-12 21:50:30 +03:00
|
|
|
|
|
|
|
|
|
|
|
<p><label for="issue_done_ratio"><%=l(:field_done_ratio)%></label>
|
|
|
|
<%= select("issue", "done_ratio", ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) ) %>
|
|
|
|
</select></p>
|
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label>
|
2006-06-28 22:11:03 +04:00
|
|
|
<select name="issue[fixed_version_id]">
|
|
|
|
<option value="">--none--</option>
|
|
|
|
<%= options_from_collection_for_select @issue.project.versions, "id", "name", @issue.fixed_version_id %>
|
|
|
|
</select></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="history_notes"><%=l(:field_notes)%></label>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_area 'history', 'notes', :cols => 60, :rows => 10 %></p>
|
2006-07-29 13:32:58 +04:00
|
|
|
</div>
|
2006-09-09 20:07:02 +04:00
|
|
|
|
|
|
|
<%= hidden_field 'issue', 'lock_version' %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= submit_tag l(:button_save) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= end_form_tag %>
|