diff --git a/productMods/templates/freemarker/edit/forms/addGrantRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addGrantRoleToPerson.ftl new file mode 100644 index 00000000..4300ae78 --- /dev/null +++ b/productMods/templates/freemarker/edit/forms/addGrantRoleToPerson.ftl @@ -0,0 +1,113 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Template for adding a grant role, such as principal investigator, to a foaf:Persons --> +<#import "lib-vivo-form.ftl" as lvf> + +<#if editConfig.object?has_content> + <#assign editMode = "edit"> +<#else> + <#assign editMode = "add"> +#if> + +<#if editMode == "edit"> + <#assign titleVerb="Edit"> + <#assign submitButtonText="Edit Grant"> + <#assign disabledVal="disabled"> +<#else> + <#assign titleVerb="Create"> + <#assign submitButtonText="Create Grant"> + <#assign disabledVal=""/> +#if> + +<#assign requiredHint = " *" /> +<#assign yearHint = "(YYYY)" /> + +<#if editMode = “ERROR”> +
${errorMessage}
+${errorMessage}
+${errorMessage}
+${errorMessage}
+${errorMessage}
+This form is not supported in versions of Internet Explorer below version 8. Please upgrade your browser, or + switch to another browser, such as FireFox.
+