% if(classes === undefined){ var classes = ""; } if(containerClasses === undefined){ var containerClasses = ""; } if(msg === undefined){ var msg = ""; } if(includeEmail === undefined){ if((classes.indexOf("warning") > -1) || (classes.indexOf("error") > -1)) var includeEmail = true; else var includeEmail = false; } var email = ""; if(includeEmail && appModel.get("emailContact")){ email = "Need help? Email us at " + appModel.get('emailContact') + ""; } %>