2 +--------------------------------------------------------------------+
3 | CiviCRM Widget Creation Interface (WCI) Version 1.0 |
4 +--------------------------------------------------------------------+
5 | Copyright Zyxware Technologies (c) 2014 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM WCI. |
9 | CiviCRM WCI is free software; you can copy, modify, and distribute |
10 | it under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007. |
13 | CiviCRM WCI is distributed in the hope that it will be useful, |
14 | but 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. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License along with this program; if not, contact Zyxware |
20 | Technologies at info[AT]zyxware[DOT]com. |
21 +--------------------------------------------------------------------+
27 display: block; height: 1px;
28 border: 0; border-top: 1px;
29 margin: 1em 0; padding: 0;
34 <div class="crm-block crm-form-block">
35 <div class="crm-submit-buttons">
36 {include file="CRM/common/formButtons.tpl" location="top"}
39 {* FIELD EXAMPLE: OPTION 1 (AUTOMATIC LAYOUT) *}
41 {foreach from=$elementNames item=elementName}
42 <div class="crm-section">
43 <div class="label">{$form.$elementName.label}</div>
44 <div class="content">{$form.$elementName.html}</div>
45 <div class="clear"></div>
49 {* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT)
52 <span>{$form.favorite_color.label}</span>
53 <span>{$form.favorite_color.html}</span>
57 <div class="crm-submit-buttons">
58 {include file="CRM/common/formButtons.tpl" location="bottom"}