From 8669266ddab5b81c102bbabff70931a5f1bafaa6 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Tue, 21 Apr 2015 14:50:13 +0100 Subject: [PATCH] CRM-16328: Add pre and post classes for help text --- templates/CRM/Profile/Form/Dynamic.tpl | 4 ++-- templates/CRM/UF/Form/Block.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Profile/Form/Dynamic.tpl b/templates/CRM/Profile/Form/Dynamic.tpl index 6a04f5191c..1ee050ecbd 100644 --- a/templates/CRM/Profile/Form/Dynamic.tpl +++ b/templates/CRM/Profile/Form/Dynamic.tpl @@ -107,7 +107,7 @@
{/if} {if $field.help_pre && $action neq 4 && $form.$n.html} -
+
{$field.help_pre}
{/if} @@ -195,7 +195,7 @@ {* Show explanatory text for field if not in 'view' mode *} {if $field.help_post && $action neq 4 && $form.$n.html} -
+
{$field.help_post}
{/if} diff --git a/templates/CRM/UF/Form/Block.tpl b/templates/CRM/UF/Form/Block.tpl index b18c2d5f33..85f4d8d60a 100644 --- a/templates/CRM/UF/Form/Block.tpl +++ b/templates/CRM/UF/Form/Block.tpl @@ -66,7 +66,7 @@ {elseif $n} {* Show explanatory text for field if not in 'view' or 'preview' modes *} {if $field.help_pre && $action neq 4 && $action neq 1028} -
+
{$field.help_pre}
{/if} @@ -147,7 +147,7 @@ {/if} {* Show explanatory text for field if not in 'view' or 'preview' modes *} {if $field.help_post && $action neq 4 && $action neq 1028} -
+
{$field.help_post}
{/if} -- 2.25.1