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 {* this template is used for adding/editing entities *}
11 <div class="crm-block crm-form-block crm-{$entityInClassFormat}-form-block">
12 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
14 <div class="messages status no-popup">
15 <div class="icon inform-icon"></div>
16 {$deleteMessage|escape}
19 <table class="form-layout-compressed">
20 {foreach from=$entityFields item=fieldSpec}
21 {assign var=fieldName value=$fieldSpec.name}
22 <tr class="crm-{$entityInClassFormat}-form-block-{$fieldName}">
23 {include file="CRM/Core/Form/Field.tpl"}
27 {include file="CRM/common/customDataBlock.tpl"}
29 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>