%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
<%
form_id = "switch_job_queue_#{@job_queue.id}"
dialog_id = "dialog_switch_job_queue_#{@job_queue.id}"
url = switch_update_job_path
%>
<% tagged_popup_remote_form_for(form_id, dialog_id, @job_queue, url, :method => :post) do |form| %>
<%= javascript_tag "secret_token = '#{form_authenticity_token}'" %>
<%= form.hidden_field :id %>
<%= form.text_field :name,
:fieldLabel => "#{t'common.from'}", :anchor => '90%', :disabled=>true %>
<%= form.collection_select 'id', @job_queue, :id, :name, {},
{:dojoType => "helpsys.ext.ComboBox",
:id => "jobQueueNewId",
:name => "to_job_queue",
:fieldlabel => "#{t'common.to_upper_case_t'}",
:typeAhead => true,
:forceSelection => false,
:triggerAction => 'all',
:anchor => '90%'} %>
<%= error_messages_for 'job_queue' %>
<% end %>