<% if( typeof supported == "undefined"){ var supported = true; } if( !supported ){ var attributes = ' disabled="disabled" data-trigger="hover" data-placement="top" ', title = "This metadata format is not editable.", classes = " tooltip-this"; } else{ var attributes = ' href="' + MetacatUI.root + "/submit/" + identifier + '" ', title = "", classes = ""; } %> title="<%=title%>"> Edit