<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% form_id = "switch_agent_#{@agent.id}" dialog_id = "dialog_switch_agent_#{@agent.id}" url = switch_update_job_path %> <% tagged_popup_remote_form_for(form_id, dialog_id, @agent, 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', @agents, :id, :name, {}, {:dojoType => "helpsys.ext.ComboBox", :id => "agentNewId", :name => "to_agent", :fieldlabel => "#{t'common.to_upper_case_t'}", :typeAhead => true, :forceSelection => false, :triggerAction => 'all', :anchor => '90%'} %>
<% end %>