Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
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 | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {* this template is used for adding/editing location type *} | |
6a488035 TO |
11 | <div class="crm-block crm-form-block crm-location-type-form-block"> |
12 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
13 | {if $action eq 8} | |
14 | <div class="messages status no-popup"> | |
34d6cec4 | 15 | {icon icon="fa-info-circle"}{/icon} |
6a488035 TO |
16 | {ts}WARNING: Deleting this option will result in the loss of all location type records which use the option.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts} |
17 | </div> | |
18 | {else} | |
19 | <table class="form-layout-compressed"> | |
20 | <tr class="crm-location-type-form-block-label"> | |
21 | <td class="label">{$form.name.label}</td> | |
22 | <td>{$form.name.html}<br /> | |
23 | <span class="description">{ts}WARNING: Do NOT use spaces in the Location Name.{/ts}</span> | |
24 | </td> | |
25 | </tr> | |
26 | <tr class="crm-location-type-form-block-display_name"> | |
27 | <td class="label">{$form.display_name.label}</td> | |
28 | <td>{$form.display_name.html}</td> | |
29 | </tr> | |
30 | <tr class="crm-location-type-form-block-vcard_name"> | |
31 | <td class="label">{$form.vcard_name.label}</td> | |
32 | <td>{$form.vcard_name.html}</td> | |
33 | </tr> | |
34 | <tr class="crm-location-type-form-block-description"> | |
35 | <td class="label">{$form.description.label}</td> | |
36 | <td>{$form.description.html}</td> | |
37 | </tr> | |
38 | <tr class="crm-location-type-form-block-is_active"> | |
39 | <td class="label">{$form.is_active.label}</td> | |
40 | <td>{$form.is_active.html}</td> | |
41 | </tr> | |
42 | <tr class="crm-location-type-form-block-is_default"> | |
43 | <td class="label">{$form.is_default.label}</td> | |
44 | <td>{$form.is_default.html}</td> | |
45 | </tr> | |
46 | </table> | |
47 | {/if} | |
48 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
49 | </div> |