Commit | Line | Data |
---|---|---|
4f895956 | 1 | {* HEADER *} |
8966f337 | 2 | <div class="crm-block crm-form-block"> |
4f895956 J |
3 | <div class="crm-submit-buttons"> |
4 | {include file="CRM/common/formButtons.tpl" location="top"} | |
5 | </div> | |
6 | ||
7 | {* FIELD EXAMPLE: OPTION 1 (AUTOMATIC LAYOUT) *} | |
8 | ||
9 | {foreach from=$elementNames item=elementName} | |
10 | <div class="crm-section"> | |
11 | <div class="label">{$form.$elementName.label}</div> | |
12 | <div class="content">{$form.$elementName.html}</div> | |
d6f51b17 | 13 | <div class="content"><small>This profile id will be used for newsletter signup. User's mail id will be added to this group when they click subscribe button.'<small></div> |
4f895956 J |
14 | <div class="clear"></div> |
15 | </div> | |
16 | {/foreach} | |
17 | ||
18 | {* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT) | |
19 | ||
20 | <div> | |
21 | <span>{$form.favorite_color.label}</span> | |
22 | <span>{$form.favorite_color.html}</span> | |
23 | </div> | |
24 | ||
25 | {* FOOTER *} | |
26 | <div class="crm-submit-buttons"> | |
27 | {include file="CRM/common/formButtons.tpl" location="bottom"} | |
28 | </div> | |
8966f337 | 29 | </div> |