{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing entities *}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8}
{icon icon="fa-info-circle"}{/icon} {$deleteMessage|escape}
{else} {foreach from=$entityFields item=fieldSpec} {assign var=fieldName value=$fieldSpec.name} {include file="CRM/Core/Form/Field.tpl"} {/foreach}
{include file="CRM/common/customDataBlock.tpl"} {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}