<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %>
<% button_id = "button_close_#{@agent_group.id}"
form_id = "new_agent_group"
@title_section = t "agent_groups.agent_group.dialog_title"
@title_item = t('common.new_caption')
@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( :partial => "edit_general", :layout => 'shared/edit_section',
:locals => {
:section_id => "settings-general",
:section_title => t('common.general_title'),
:details_only => true}) %>
<%= render( :partial => "edit_agents", :layout => 'shared/edit_section',
:locals => {
:section_id => "settings-agents",
:section_title => t('agent_groups.agent_group.agents_title'),
:details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>