2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 {capture assign=infoTitle}{ts}Preview Mode{/ts}{/capture}
11 {assign var="infoType" value="info"}
12 {if $preview_type eq 'group'}
13 {capture assign=infoMessage}{ts}Showing price set as it will be displayed within a form.{/ts}{/capture}
15 {capture assign=infoMessage}{ts}Showing field as it will be displayed in a form.{/ts}{/capture}
17 {include file="CRM/common/info.tpl"}
18 <div class="crm-block crm-form-block crm-price-set-preview-block">
20 {foreach from=$groupTree item=priceSet key=group_id}
22 {if $preview_type eq 'group'}<legend>{$setTitle}</legend>{/if}
23 {include file="CRM/Price/Form/PriceSet.tpl"}
27 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>