From 61742f7ae0b2721b9e2753a4350dbc16adce3283 Mon Sep 17 00:00:00 2001 From: hudajkhan Date: Fri, 4 Oct 2013 15:42:11 -0400 Subject: [PATCH] for case when individual form is not person type --- .../body/individual/manageLabelsForIndividualAddForm.ftl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/productMods/templates/freemarker/body/individual/manageLabelsForIndividualAddForm.ftl b/productMods/templates/freemarker/body/individual/manageLabelsForIndividualAddForm.ftl index 9daaa377..cd41d130 100644 --- a/productMods/templates/freemarker/body/individual/manageLabelsForIndividualAddForm.ftl +++ b/productMods/templates/freemarker/body/individual/manageLabelsForIndividualAddForm.ftl @@ -1,6 +1,9 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- Custom form for managing labels for individuals - specific to VIVO which handles people as well --> -<#assign isPersonType = editConfiguration.pageData.isPersonType /> +<#assign isPersonType = "false"/> +<#if editConfiguration.pageData.isPersonType?has_content> + <#assign isPersonType = editConfiguration.pageData.isPersonType /> +

${i18n().add_label}

<#if isPersonType?has_content && isPersonType = "true">