e61315857640cd2b02c7222b251803e9661b290e
[com.zyxware.civiwci.git] / templates / CRM / Wci / Form / ProgressBar.tpl
1 {*
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. |
8 | |
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. |
12 | |
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. |
17 | |
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 +--------------------------------------------------------------------+
22 *}
23 {literal}
24 <style>
25 .crm-wci-pb hr {
26 align:center;
27 display: block; height: 1px;
28 border: 0; border-top: 1px;
29 margin: 1em 0; padding: 0;
30 }
31 </style>
32 {/literal}
33 {* HEADER *}
34 <div class="crm-block crm-form-block">
35 <div class="crm-submit-buttons">
36 {include file="CRM/common/formButtons.tpl" location="top"}
37 </div>
38
39 {* FIELD EXAMPLE: OPTION 1 (AUTOMATIC LAYOUT) *}
40
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>
46 </div>
47 {/foreach}
48
49 {* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT)
50
51 <div>
52 <span>{$form.favorite_color.label}</span>
53 <span>{$form.favorite_color.html}</span>
54 </div>
55
56 {* FOOTER *}
57 <div class="crm-submit-buttons">
58 {include file="CRM/common/formButtons.tpl" location="bottom"}
59 </div>
60 </div>