<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2017 %>
#{h @PARENT_PAGE_TITLE}" %>" helpUrl="<%=help_link()%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" autoExpandColumn="templatesGridName" dataColumns="[{name: 'id'}, {name: 'name'}]" editInPopup="false" deletePath="<%= interface_template_path(params[:interface_id], -1) %>" deleteConfirmation='<%=t "universal_connector_servers.interfaces.templates.delete_confirmation" %>' editPath="<%= edit_interface_template_path(params[:interface_id], -1) %>" gridColumns="[ {dataIndex: 'name', header: '<%= t('common.name') %>', id: 'templatesGridName', locked: false, filter: false, sortable: false, filterType: 'string'} ]" includeEdit="true" includeShow="true" includeDelete="true" menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%= t('universal_connector_servers.interfaces.templates.edit_template') %>', actsOn: 'one', actionUrl: '<%= edit_interface_template_path(params[:interface_id], -1) %>' }, { iconCls: 'icon_delete', text: '<%= t('universal_connector_servers.interfaces.templates.detele_template') %>', actsOn: 'one', ajaxRequest: true, method: 'DELETE', actionUrl: '<%= interface_template_path(params[:interface_id], -1) %>', confirmText: '<%=t "universal_connector_servers.interfaces.templates.delete_confirmation" %>' }]}" tbar="{items: [{ iconCls: 'icon_create', text: '<%=t "universal_connector_servers.interfaces.templates.create_template" %>', actsOn: 'none', actionUrl: '<%= new_interface_template_path %>' },'->',{ text: '<%=t "universal_connector_servers.interfaces.templates.view_interfaces" %>', actsOn: 'none', actionUrl: '<%= interfaces_path %>' }]}" url="<%= interface_templates_path(params[:interface_id], :format => 'json', :gridRefresh => true) %>" style="height:100%;">