From 5a01165e0191a3f910f31d63c9b17bc6e3d9cba4 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 8 Sep 2021 16:27:38 -0400 Subject: [PATCH] subtype might legitimately be empty --- templates/CRM/Contact/Form/Edit/Individual.tpl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/templates/CRM/Contact/Form/Edit/Individual.tpl b/templates/CRM/Contact/Form/Edit/Individual.tpl index 5139e05ee1..fe8da27023 100644 --- a/templates/CRM/Contact/Form/Edit/Individual.tpl +++ b/templates/CRM/Contact/Form/Edit/Individual.tpl @@ -8,16 +8,6 @@ +--------------------------------------------------------------------+ *} {* tpl for building Individual related fields *} - -{/literal} - {if $form.prefix_id} @@ -71,9 +61,11 @@ CRM.$(function($) { {$form.nick_name.label}
{$form.nick_name.html} + {if !empty($form.contact_sub_type)} + {/if}
{$form.contact_sub_type.label}
{$form.contact_sub_type.html}
-- 2.25.1