Mercurial > hg > soundsoftware-site
diff app/views/issue_moves/new.rhtml @ 514:7eba09d624db live
Merge
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:50:53 +0100 |
parents | cbce1fd3b1b7 |
children |
line wrap: on
line diff
--- a/app/views/issue_moves/new.rhtml Thu Jul 14 10:46:20 2011 +0100 +++ b/app/views/issue_moves/new.rhtml Thu Jul 14 10:50:53 2011 +0100 @@ -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' %> @@ -65,3 +74,6 @@ <%= submit_tag l(:button_move_and_follow), :name => 'follow' %> <% end %> <% end %> +<% content_for :header_tags do %> + <%= robot_exclusion_tag %> +<% end %>