Merge pull request #15820 from seamuslee001/dev_core_183_custom_contribsybnt
[civicrm-core.git] / templates / CRM / Core / Form / ShortCode.tpl
CommitLineData
15f842bd
CW
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
15f842bd 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
15f842bd
CW
8 +--------------------------------------------------------------------+
9*}
10<div class="help">
11 {ts}Can't find your form? Make sure it is active.{/ts}
12</div>
13
14<div class="crm-field-wrapper">
15 <span class="shortcode-param">{$form.component.html}</span>&nbsp;&nbsp;
16 <span class="shortcode-param" data-components='{$selects|@json_encode}'>{$form.entity.html}</span>
17</div>
18
19{foreach from=$options key='item' item='option'}
20 <div class="crm-field-wrapper shortcode-param" data-components='{$option.components|@json_encode}'>
21 {if $form.$item.label}
22 <p>{$form.$item.label}</p>
23 {/if}
24 {$form.$item.html}
25 </div>
26
27{/foreach}
28
29{* Hack to prevent WP toolbars from popping up above the dialog *}
30{literal}<style type="text/css">
31 #wpadminbar,
15f842bd
CW
32 .wp-editor-expand #wp-content-editor-tools,
33 .wp-editor-expand div.mce-toolbar-grp {
34 z-index: 100 !important;
35 }
36</style>{/literal}