Merge branch '4.6' into master
[civicrm-core.git] / templates / CRM / Admin / Form / Mapping.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 a saved mapping *}
27 <div class="crm-block crm-form-block crm-mapping-form-block">
28 {if $action eq 1 or $action eq 2 }
29 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
30 <table class="form-layout-compressed">
31 <tr class="crm-mapping-form-block-name">
32 <td class="label">{$form.name.label}</td>
33 <td>{$form.name.html}</td>
34 </tr>
35 <tr class="crm-mapping-form-block-description">
36 <td class="label">{$form.description.label}</td>
37 <td>{$form.description.html}</td>
38 </tr>
39 <tr class="crm-mapping-form-block-mapping_type_id">
40 <td class="label">{$form.mapping_type_id.label}</td>
41 <td>{$form.mapping_type_id.html}</td>
42 </tr>
43 </table>
44 {else}
45 <div class="messages status no-popup">
46 <div class="icon inform-icon"></div> &nbsp;
47 {ts 1=$mappingName}WARNING: Are you sure you want to delete mapping '<b>%1</b>'?{/ts} {ts}This action cannot be undone.{/ts}
48 </div>
49 <br />
50 {/if}
51 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" loaction="bottom"}</div>
52 <div class="spacer"></div>
53 </div>