Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-01-20-19-00-14
[civicrm-core.git] / templates / CRM / Contact / Form / Edit / Address / CustomData.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
232624b1 3 | CiviCRM version 4.4 |
6a488035
TO
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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
27{foreach from=$address_groupTree.$blockId item=cd_edit key=group_id}
28<div id="{$cd_edit.name}_{$group_id}_{$blockId}" class="form-item">
29 <div class="crm-collapsible crm-{$cd_edit.name}_{$group_id}_{$blockId}-accordion {if $cd_edit.collapse_display}collapsed{/if}">
30 <div class="collapsible-title">
31 {$cd_edit.title}
32 </div>
33 <div>
34 {if $cd_edit.help_pre}
35 <div class="messages help">{$cd_edit.help_pre}</div>
36 {/if}
37 <table class="form-layout-compressed">
38 {foreach from=$cd_edit.fields item=element key=field_id}
39 {include file="CRM/Contact/Form/Edit/Address/CustomField.tpl"}
40 {/foreach}
41 </table>
42 <div class="spacer"></div>
43 {if $cd_edit.help_post}<div class="messages help">{$cd_edit.help_post}</div>{/if}
44 </div>
45 </div>
46
47 <div id="custom_group_{$group_id}_{$blockId}"></div>
48</div>
49{/foreach}