From: eileenmcnaugton Date: Thu, 10 Sep 2015 02:26:26 +0000 (+1200) Subject: CRM-17197 - Autorenew is not offered when the price_field is select X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4973890f0edbd2896368c921623d71489d066132;p=civicrm-core.git 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 --- 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}