| 1 |
<?php |
| 2 |
|
| 3 |
defined('ABSPATH') or die; |
| 4 |
|
| 5 |
?> |
| 6 |
<div id="ff_preview" class="fluent_form_demo"> |
| 7 |
<div style="background: #eee;color: black;padding: 10px 10px;margin-bottom: 20px;" class="ff_demo_notice"> |
| 8 |
<p style="margin-bottom: 0px"><?php esc_html_e('You are viewing preview version of ', 'fluentform'); ?><?php echo esc_html($form->title); ?><?php esc_html_e('. Public users can not see this form. Please use shortcode to embed this form.', 'fluentform'); ?></p> |
| 9 |
</div> |
| 10 |
<?php echo do_shortcode('[fluentform id="'.$form->id.'"]'); ?> |
| 11 |
</div> |
| 12 |
|