<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% fields_for @agent_group do |form| %>
<%= hidden_field :agent_group, :group_type %>

<%= t_label('agent_groups.agent_group.group_type') %>

<%= @agent_group.group_type_text %>

<%= t("agent_groups.agent_group.group_type_#{@agent_group.group_type}_caption") %>

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

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

<%= form.label :description, t_label('common.description'), :class => "description-label item-label" %>
<%= form.text_area :description, :disabled => @view_only, :maxLength => 50, :class => "x-form-field description-field" %>

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

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