<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2015 %> <% fields_for @job_queue do |fields| %> <% if @job_queue.is_default? %>

<%= t_label('common.name') %>

<%= h @job_queue.name %>

<% else %>
<%= fields.label :name, t_label('common.name'), :class => "name-label item-label" %>
<%= text_field :job_queue, :name, :disabled => @view_only, :maxLength => 50, :class => "x-form-field name-field" %>

<%= t('common.name_caption') %>

<% end %>
<%= fields.label :description, t_label('common.description'), :class => "description-label item-label" %>
<%= text_area :job_queue, :description, :disabled => @view_only, :maxLength => 256, :value => @job_queue.description, :class => "x-form-field description-field", :style => "overflow:auto;height:64px;"%>

<%= t('common.description_caption') %>

<%= fields.label :tag, t_label('common.tags'), :class => "x-form-item label" %>
<%= tags_form_helper(fields, "job_queue[tag_list]", h(@job_queue.tag_list), {:view_only => @view_only}) %>
<%= t('common.taget_of_queue') %>

<%= t('job_queues.general.target_of_queue.agent_caption') %>

<%= t('job_queues.general.target_of_queue.cross_agent_caption') %>

<% end %>