From 960dca71cc46a624ba11e9e398422667ddea279b Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Mon, 7 Aug 2017 17:40:00 +0530 Subject: [PATCH] Fix display of pre-help text --- templates/CRM/Price/Form/PriceSet.tpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index a7afef8971..ebb2fe8261 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -37,14 +37,12 @@ {foreach from=$priceSet.fields item=element key=field_id} {* Skip 'Admin' visibility price fields WHEN this tpl is used in online registration unless user has administer CiviCRM permission. *} {if $element.visibility EQ 'public' || ($element.visibility EQ 'admin' && $adminFld EQ true) || $context eq 'standalone' || $context eq 'advanced' || $context eq 'search' || $context eq 'participant' || $context eq 'dashboard' || $action eq 1024} + {if $element.help_pre}{$element.help_pre}
{/if}
{if ($element.html_type eq 'CheckBox' || $element.html_type == 'Radio') && $element.options_per_line} {assign var="element_name" value="price_"|cat:$field_id}
{$form.$element_name.label}
- {if $element.help_pre} -
{$element.help_pre}
- {/if} {assign var="elementCount" value="0"} {assign var="optionCount" value="0"} {assign var="rowCount" value="0"} @@ -73,7 +71,6 @@
{$form.$element_name.label}
- {if $element.help_pre}{$element.help_pre}
{/if} {$form.$element_name.html} {if $element.html_type eq 'Text'} {if $element.is_display_amounts} -- 2.25.1