diff --git a/productMods/templates/freemarker/body/personHasEducationalTraining.ftl b/productMods/templates/freemarker/body/personHasEducationalTraining.ftl index 15a7e623..63755859 100644 --- a/productMods/templates/freemarker/body/personHasEducationalTraining.ftl +++ b/productMods/templates/freemarker/body/personHasEducationalTraining.ftl @@ -1,17 +1,17 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- this is in request.subject.name --> + <#assign subjectName = "Bogus, Al"> -<#-- where is the context path suppose to come from? --> -<#assign contextPath = "/vivo"> - -<#assign editMode="edit"> -<#assign editMode=editConfig.object!"add"> +<#if editConfig.object?has_content> + <#assign editMode = "edit"> +<#else> + <#assign editMode = "add"> +#if> <#if editMode == "edit"> <#assign titleVerb="Edit"> - <#assign title="Edit educational background entry for subjectName" /> <#assign submitButtonText="Edit Educational Training"> <#assign disabledVal="disabled"> <#else> @@ -21,11 +21,10 @@ #if> <#assign requiredHint=" *"/> -