annotate .svn/pristine/ef/ef961a9ffa9b55d45d3173f3d5560d27a61925d0.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
rev   line source
Chris@1295 1 <%= render :partial => 'action_menu' %>
Chris@1295 2
Chris@1295 3 <h2><%=l(:label_workflow)%></h2>
Chris@1295 4
Chris@1295 5 <%= form_tag({}, :id => 'workflow_copy_form') do %>
Chris@1295 6 <fieldset class="tabular box">
Chris@1295 7 <legend><%= l(:label_copy_source) %></legend>
Chris@1295 8 <p>
Chris@1295 9 <label><%= l(:label_tracker) %></label>
Chris@1295 10 <%= select_tag('source_tracker_id',
Chris@1295 11 content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '') +
Chris@1295 12 content_tag('option', "--- #{ l(:label_copy_same_as_target) } ---", :value => 'any') +
Chris@1295 13 options_from_collection_for_select(@trackers, 'id', 'name', @source_tracker && @source_tracker.id)) %>
Chris@1295 14 </p>
Chris@1295 15 <p>
Chris@1295 16 <label><%= l(:label_role) %></label>
Chris@1295 17 <%= select_tag('source_role_id',
Chris@1295 18 content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '') +
Chris@1295 19 content_tag('option', "--- #{ l(:label_copy_same_as_target) } ---", :value => 'any') +
Chris@1295 20 options_from_collection_for_select(@roles, 'id', 'name', @source_role && @source_role.id)) %>
Chris@1295 21 </p>
Chris@1295 22 </fieldset>
Chris@1295 23
Chris@1295 24 <fieldset class="tabular box">
Chris@1295 25 <legend><%= l(:label_copy_target) %></legend>
Chris@1295 26 <p>
Chris@1295 27 <label><%= l(:label_tracker) %></label>
Chris@1295 28 <%= select_tag 'target_tracker_ids',
Chris@1295 29 content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '', :disabled => true) +
Chris@1295 30 options_from_collection_for_select(@trackers, 'id', 'name', @target_trackers && @target_trackers.map(&:id)), :multiple => true %>
Chris@1295 31 </p>
Chris@1295 32 <p>
Chris@1295 33 <label><%= l(:label_role) %></label>
Chris@1295 34 <%= select_tag 'target_role_ids',
Chris@1295 35 content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '', :disabled => true) +
Chris@1295 36 options_from_collection_for_select(@roles, 'id', 'name', @target_roles && @target_roles.map(&:id)), :multiple => true %>
Chris@1295 37 </p>
Chris@1295 38 </fieldset>
Chris@1295 39 <%= submit_tag l(:button_copy) %>
Chris@1295 40 <% end %>