From 4973890f0edbd2896368c921623d71489d066132 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Thu, 10 Sep 2015 14:26:26 +1200 Subject: [PATCH] CRM-17197 - Autorenew is not offered when the price_field is select Note that this proposed fix moves the final div down. It seems to make sense to move the help_post div down too although I didn't go that far --- templates/CRM/Price/Form/PriceSet.tpl | 28 +++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index 9ee1f2b0fc..b2bda8d6cb 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -64,20 +64,6 @@
{$element.help_post}
{/if} - - {if !empty($extends) && $extends eq "Membership"} -
-
-
-
- {if isset($form.auto_renew) } - {$form.auto_renew.html} {$form.auto_renew.label} - {/if} -
-
-
- {/if} -
{else} {assign var="element_name" value="price_"|cat:$field_id} @@ -114,9 +100,21 @@ {/if} {if $element.help_post}
{$element.help_post}{/if} -
{/if} + {if !empty($extends) && $extends eq "Membership" && $element.html_type != 'Text'} +
+
+
+
+ {if isset($form.auto_renew) } + {$form.auto_renew.html} {$form.auto_renew.label} + {/if} +
+
+
+ {/if} +
{/if} {/foreach} -- 2.25.1