%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "button_close_#{@agent_group.id}" form_id = "edit_agent_group_#{@agent_group.id}" @title_section = t "agent_groups.agent_group.dialog_title" @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @agent_group.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['agent_groups']['settings'] %> <% form_for @agent_group, :html => {:id => form_id,:class => "edit_agent_group",:autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "settings-general", :section_title => t('common.general_title')}) do %>
<%= t_label('agent_groups.agent_group.group_type') %>
<%= h @agent_group.group_type_text %>
<%= t_label('common.name') %>
<%= h @agent_group.name %>
<%= t_label('common.description')%>
<%= h @agent_group.description %>
<%= t_label('common.tags')%>
<%= h @agent_group.tag_list %>
<% if (@agent_group.agent_group_agents.length == 1) %> <%= t('agent_groups.agent_group.agents_defined_single') %> <% else %> <%= t('agent_groups.agent_group.agents_defined', :count => @agent_group.agent_group_agents.length) %> <% end %>