%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
'
includeDelete="true"
includeEdit="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%=t "agent_groups.index.edit_agent_group" %>',
actsOn: 'one',
actionUrl: '<%= edit_agent_group_path(-1) %>'
},{
actsOn: 'many',
hideLoadWindow: true,
actionId: 'remove_agent',
customAction: true,
iconCls: 'icon_remove',
text: '<%=t "agents.whereused.remove_agent_from_group" %>'
},{
iconCls: 'icon_delete',
text: '<%=t "agent_groups.index.delete_agent_group" %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= agent_group_path(-1) %>',
ajaxRequest: true,
confirmText: '<%=t "agent_groups.index.delete_confirmation" %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{}"
useCheckboxSelection="true"
rowToSelect="-1"
url="<%= agent_groups_path(:format => 'json', :agent_id => @agent.id) %>">