diff options
Diffstat (limited to 'app/views/issues/change_status.rhtml')
-rw-r--r-- | app/views/issues/change_status.rhtml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/views/issues/change_status.rhtml b/app/views/issues/change_status.rhtml new file mode 100644 index 000000000..2ef87183d --- /dev/null +++ b/app/views/issues/change_status.rhtml @@ -0,0 +1,37 @@ +<h2><%=l(:label_issue)%> #<%= @issue.id %>: <%= @issue.subject %></h2> +
+<%= error_messages_for 'issue' %>
+<%= start_form_tag({:action => 'change_status', :id => @issue}, :class => "tabular") %>
+
+<%= hidden_field_tag 'confirm', 1 %>
+<%= hidden_field_tag 'new_status_id', @new_status.id %> + +<div class="box">
+<p><label><%=l(:label_issue_status_new)%></label> <%= @new_status.name %></p>
+
+<p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label> +<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>
+ + +<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> + +
+<p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label> +<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> + +<p><label for="notes"><%= l(:field_notes) %></label> +<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %></p> + +</div> +
+<%= hidden_field 'issue', 'lock_version' %> +<%= submit_tag l(:button_save) %>
+<%= end_form_tag %>
|