<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
" helpUrl="<%=help_link(HELP_URL_CONFIG['admin']['roles']['role_manager'])%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" baseParameters="{ tag: '<%= params[:tag] %>' }" authenticity_token="<%= form_authenticity_token %>" autoExpandColumn="description" dataColumns="[{ name: 'id' }, { name: 'name' }, { name: 'description'}]" customDelete: true deletePath="<%= role_path(-1) %>" editPath="<%= edit_role_path(-1) %>" editInPopup="false" gridColumns="[ { dataIndex: 'name', header: '<%=t "common.name"%>', id: 'className', locked: false, sortable: true, width: 200, filter: true, filterType: 'string'}, { dataIndex: 'description', header: '<%=t "common.description"%>', id: 'description', locked: false, sortable: true, width: 200, filter: true, filterType: 'string'}]" includeDelete="true" includeEdit="true" includeShow="true" menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%=t ".edit_role"%>', actsOn: 'one', actionUrl: '<%= edit_role_path(-1) %>' },{ iconCls: 'icon_copy', text: '<%=t ".copy_role"%>', actsOn: 'one', actionUrl: '<%= copy_role_path(-1) %>' },{ iconCls: 'icon_delete', text: '<%=t ".delete_role"%>', actsOn: 'one', customDelete: true, method: 'DELETE', actionUrl: '<%= role_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".delete_confirmation"%>' }, '-', { iconCls: 'icon_audit', text: '<%=t "common.show_audit_changes"%>', actsOn: 'one', actionUrl: '<%= audits_path(:auditable_id => -1, :auditable_type => 'Role') %>' }]}" sortField="{field: 'name', direction: 'ASC'}" tbar="{items: [{ iconCls: 'icon_create', text: '<%=t ".create_role"%>', actsOn: 'none', actionUrl: '<%= new_role_path %>' }]}" url="<%= roles_path(:format => 'json') %>" style="height:100%;">