Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {* this template is used for adding/editing location type *} | |
6a488035 TO |
27 | <div class="crm-block crm-form-block crm-location-type-form-block"> |
28 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
29 | {if $action eq 8} | |
30 | <div class="messages status no-popup"> | |
31 | <div class="icon inform-icon"></div> | |
32 | {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} | |
33 | </div> | |
34 | {else} | |
35 | <table class="form-layout-compressed"> | |
36 | <tr class="crm-location-type-form-block-label"> | |
37 | <td class="label">{$form.name.label}</td> | |
38 | <td>{$form.name.html}<br /> | |
39 | <span class="description">{ts}WARNING: Do NOT use spaces in the Location Name.{/ts}</span> | |
40 | </td> | |
41 | </tr> | |
42 | <tr class="crm-location-type-form-block-display_name"> | |
43 | <td class="label">{$form.display_name.label}</td> | |
44 | <td>{$form.display_name.html}</td> | |
45 | </tr> | |
46 | <tr class="crm-location-type-form-block-vcard_name"> | |
47 | <td class="label">{$form.vcard_name.label}</td> | |
48 | <td>{$form.vcard_name.html}</td> | |
49 | </tr> | |
50 | <tr class="crm-location-type-form-block-description"> | |
51 | <td class="label">{$form.description.label}</td> | |
52 | <td>{$form.description.html}</td> | |
53 | </tr> | |
54 | <tr class="crm-location-type-form-block-is_active"> | |
55 | <td class="label">{$form.is_active.label}</td> | |
56 | <td>{$form.is_active.html}</td> | |
57 | </tr> | |
58 | <tr class="crm-location-type-form-block-is_default"> | |
59 | <td class="label">{$form.is_default.label}</td> | |
60 | <td>{$form.is_default.html}</td> | |
61 | </tr> | |
62 | </table> | |
63 | {/if} | |
64 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
65 | </div> |