<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% form_id = "where_used_job_queue_#{@job_queue.id}" %> <% fields_for @job_queue do |fields| %>
<%= fields.label :job_queue, t_label("common.switch_label"), :class => "x-form-item label" %>

<%= t('job_queues.whereused.switch_job_queue') %>

<%= button_to_function("Switch", "try {helpsys.CntMgr.getController('#{form_id}').switchJobQueue();} catch(e) {console.log(e);};return false;", :class => "save-button") %>
<% end %>