% 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 && MetacatUI.appModel.get("emailContact")){ if(typeof emailOptions == "undefined" || !emailOptions) var emailOptions = ""; email = "Need help? Email us at " + "" + MetacatUI.appModel.get('emailContact') + ""; } %>