fixed tags form field display on New/Edit contact screen
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 17 Mar 2022 21:35:54 +0000 (21:35 +0000)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 17 Mar 2022 21:35:54 +0000 (21:35 +0000)
templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl

index 211a07897150e208adf380ea18e4e616ebca0af7..29e10947b2219748e87e9fe91927209b6d1f0810 100644 (file)
 {/if}
     <table class="form-layout-compressed{if $context EQ 'profile'} crm-profile-tagsandgroups{/if}">
       <tr>
-        {if $form.tag}
-          <td>
+        <td>
+          {if $form.tag}
             <div class="crm-section tag-section">
               {if !empty($title)}{$form.tag.label}<br>{/if}
               {$form.tag.html}
             </div>
-            {if $context NEQ 'profile'}
-              {include file="CRM/common/Tagset.tpl"}
-            {/if}
-          </td>
-        {/if}
+          {/if}
+          {if $context NEQ 'profile'}
+            {include file="CRM/common/Tagset.tpl"}
+          {/if}
+        </td>
+
         {if $form.group}
           <td>
             {if $groupElementType eq 'select'}