CRM-18305 - CiviMember - Auto-renew checkbox option was being displayed multiple...
authorAllen Shaw <allen@JoineryHQ.com>
Mon, 28 Mar 2016 18:44:58 +0000 (13:44 -0500)
committerAllen Shaw <allen@JoineryHQ.com>
Mon, 28 Mar 2016 18:44:58 +0000 (13:44 -0500)
templates/CRM/Price/Form/PriceSet.tpl

index f05f0ad3a411668166a0975bd73b1e15e161d564..86a70d95d93ffad976ec9c5096b4443fcb7b2fc4 100644 (file)
                 </div>
 
             {/if}
-              {if !empty($extends) && $extends eq "Membership" && $element.html_type != 'Text'}
+              {if !empty($extends) && $extends eq "Membership" && $element.name == 'membership_amount'}
                 <div id="allow_auto_renew">
                   <div class='crm-section auto-renew'>
                     <div class='label'></div>