From 749d2d1abaaf4f444c35ed076d6c7a395a2fc826 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Wed, 29 May 2013 18:30:50 +0530 Subject: [PATCH] more work on CRM-12709, fixed profile preview --- templates/CRM/UF/Form/Preview.tpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/CRM/UF/Form/Preview.tpl b/templates/CRM/UF/Form/Preview.tpl index 697ed8c68a..3edb143a59 100644 --- a/templates/CRM/UF/Form/Preview.tpl +++ b/templates/CRM/UF/Form/Preview.tpl @@ -46,10 +46,6 @@ {if $field.skipDisplay} {continue} {/if} - {if $field.field_type eq "Formatting"} - {$field.help_pre} - {continue} - {/if} {if $field.groupTitle != $fieldset} {if $fieldset != $zeroField} @@ -71,11 +67,13 @@ {/if} {* Show explanatory text for field if not in 'view' mode *} - {if $field.help_pre && $action neq 4} + {if $field.help_pre && $action neq 4 && $field.field_type neq "Formatting"} {/if} {assign var=n value=$field.name} - {if $field.options_per_line } + {if $field.field_type eq "Formatting"} + + {elseif $field.options_per_line }
 {$field.help_pre}
{$field.help_pre}
{$form.$n.label} -- 2.25.1