%
var actionObj = actionIconMap[type];
var visibilityClass = "";
var inputTextDisabled = "";
var hideSortIcon = false;
var marginClass = "";
var disableInputDiv = "";
if(actionObj.isBackVisible === false){
visibilityClass = "hide";
marginClass = "with-margin-left";
}
if(type === "contactSearchList" && searchResults === false){
inputTextDisabled = "disabled";
disableInputDiv = "disableSelectAll";
hideSortIcon = true;
}
%>
<%
if (actionObj.isSelectAllVisible !== false){
%>
/>
<%
}
%>
<%
_.each(actionObj.leftIcons , function (obj, index){
%>
<%
})
%>
<%
if (actionObj.rightIcons && actionObj.rightIcons.length){
%>
<%
_.each(actionObj.rightIcons , function (obj, index){
var iconObj = rightSideIconMap[obj];
var checkClassName = iconObj.class ? iconObj.class : "";
checkClassName += (iconObj.notOverflowItem ? "" : " hidden-xs");
checkClassName += (iconObj.isDropdown ? "" : " evtTrigger");
checkClassName += ((iconObj.id === "sortby") && hideSortIcon)? " hide" : "";
%>
-
<% if (iconObj.isDropdown){ %>
<% } %>
<%
});
%>
<%
}
%>
<%=errorMessageTemplate%>