add select field for XCM profile to extension config page

This commit is contained in:
Marc Michalsky forumZFD 2020-11-12 14:02:03 +01:00
parent e460d923f8
commit e4af927a5b
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
4 changed files with 72 additions and 56 deletions

View file

@ -1,27 +1,18 @@
{* HEADER *}
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="top"}
</div>
{* FIELD EXAMPLE: OPTION 1 (AUTOMATIC LAYOUT) *}
{foreach from=$elementNames item=elementName}
<div class="crm-section">
<div class="label">{$form.$elementName.label}</div>
<div class="content">{$form.$elementName.html}</div>
<div class="crm-section">
<div class="label">{$form.twingle_api_key.label}</div>
<div class="content">{$form.twingle_api_key.html}</div>
<div class="clear"></div>
</div>
{/foreach}
{* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT)
<div>
<span>{$form.favorite_color.label}</span>
<span>{$form.favorite_color.html}</span>
</div>
{* FOOTER *}
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="bottom"}
</div>
<div class="crm-section">
<div class="label">{$form.twinglecampaign_xcm_profile.label}</div>
<div class="content">{$form.twinglecampaign_xcm_profile.html}</div>
<div class="clear"></div>
</div>
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="bottom"}
</div>