{* +--------------------------------------------------------------------+ | 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 Contact Type *}
{if $action eq 8}
{icon icon="fa-info-circle"}{/icon} {ts}WARNING: {ts}This action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}{/ts}
{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $is_parent OR $action EQ 1} {else} {/if}
{$form.label.label} {if $action eq 2} {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contact_type' field='label' id= $cid } {/if} {$form.label.html}
{$form.parent_id.label}{$form.parent_id.html}{ts}{$contactTypeName}{/ts} {ts}(built-in){/ts}
{$form.image_URL.label} {help id="id-image_URL"} {$form.image_URL.html|crmAddClass:'huge40'}
{$form.description.label} {if $action eq 2} {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contact_type' field='description' id= $cid} {/if} {$form.description.html}
{$form.is_active.label}{$form.is_active.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}