From 1629863f7995ca26677a2b30da1dfbe815299c40 Mon Sep 17 00:00:00 2001 From: John Kingsnorth Date: Wed, 15 Sep 2021 17:43:06 +0100 Subject: [PATCH] Add unique class on id to price fields in tpl --- templates/CRM/Price/Form/PriceSet.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index f2b56eb2b6..26520f58e2 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -29,7 +29,7 @@ {* 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}
-- 2.25.1