diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-29 20:48:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-29 20:48:51 +0000 |
commit | 82f528ddc8c843583c0313a000ae1fa6e5bc1345 (patch) | |
tree | d4532da865b3c9c661d4ad30735b6be883793e13 /app/views/issue_moves | |
parent | ad620607539c661b40a07146df3ced78c13a16e3 (diff) | |
download | redmine-82f528ddc8c843583c0313a000ae1fa6e5bc1345.tar.gz redmine-82f528ddc8c843583c0313a000ae1fa6e5bc1345.zip |
Makes issue move form similar to bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4583 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_moves')
-rw-r--r-- | app/views/issue_moves/new.rhtml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/app/views/issue_moves/new.rhtml b/app/views/issue_moves/new.rhtml index c51399eb6..cd6044052 100644 --- a/app/views/issue_moves/new.rhtml +++ b/app/views/issue_moves/new.rhtml @@ -10,6 +10,10 @@ <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> <div class="box tabular"> +<fieldset class="attributes"> +<legend><%= l(:label_change_properties) %></legend> + +<div class="splitcontentleft"> <p><label for="new_project_id"><%=l(:field_project)%>:</label> <%= select_tag "new_project_id", project_tree_options_for_select(@allowed_projects, :selected => @target_project), @@ -22,13 +26,6 @@ <%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p> <p> - <label><%= l(:field_assigned_to) %></label> - <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') + - content_tag('option', l(:label_nobody), :value => 'none') + - options_from_collection_for_select(@target_project.assignable_users, :id, :name)) %> -</p> - -<p> <label><%= l(:field_status) %></label> <%= select_tag('status_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %> </p> @@ -39,6 +36,15 @@ </p> <p> + <label><%= l(:field_assigned_to) %></label> + <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') + + content_tag('option', l(:label_nobody), :value => 'none') + + options_from_collection_for_select(@target_project.assignable_users, :id, :name)) %> +</p> +</div> + +<div class="splitcontentright"> +<p> <label><%= l(:field_start_date) %></label> <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %> </p> @@ -47,6 +53,9 @@ <label><%= l(:field_due_date) %></label> <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %> </p> +</div> + +</fieldset> <fieldset><legend><%= l(:field_notes) %></legend> <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %> |