{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* add/update price set *}
{ts}Use this form to edit the title and group-level help for a set of Price fields.{/ts}
{capture assign="enableComponents"}{crmURL p='civicrm/admin/setting/component' q="reset=1"}{/capture}
{include file="CRM/common/formButtons.tpl" location="top"}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='title' id=$sid}{/if}{$form.title.html}
  {ts}The name of this Price Set{/ts}
{$form.extends.label} {if $extends eq false}
{ts 1=$enableComponents}No Components have been enabled for your site that can be configured with the price sets. Click here if you want to enable CiviEvent/CiviContribute for your site.{/ts}
{else} {$form.extends.html} {/if}
{$form.min_amount.label} {$form.min_amount.html}
{$form.financial_type_id.label} {$form.financial_type_id.html}  
{$form.help_pre.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='help_pre' id=$sid}{/if}{$form.help_pre.html}  
  {ts}Explanatory text displayed at the beginning of this group of fields.{/ts}
{$form.help_post.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='help_post' id=$sid}{/if}{$form.help_post.html}
  {ts}Explanatory text displayed below this group of fields.{/ts}
{$form.is_active.label} {$form.is_active.html}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $action eq 2 or $action eq 4} {* Update or View*}

{/if}