| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div id="frm_builder_page" class="frm_wrap"> |
| 7 |
<div class="frm_page_container"> |
| 8 |
|
| 9 |
<?php |
| 10 |
require FrmAppHelper::plugin_path() . '/classes/views/frm-forms/mb_insert_fields.php'; |
| 11 |
FrmAppHelper::get_admin_header( |
| 12 |
array( |
| 13 |
'label' => __( 'Build Form', 'formidable' ), |
| 14 |
'form' => $form, |
| 15 |
'hide_title' => true, |
| 16 |
'publish' => array( 'FrmFormsController::form_publish_button', compact( 'values' ) ), |
| 17 |
) |
| 18 |
); |
| 19 |
?> |
| 20 |
|
| 21 |
<div class="columns-2"> |
| 22 |
<?php require FrmAppHelper::plugin_path() . '/classes/views/frm-forms/add_field_links.php'; ?> |
| 23 |
<div id="post-body-content"> |
| 24 |
|
| 25 |
<div class="frm_form_builder with_frm_style"> |
| 26 |
|
| 27 |
<p class="frm_hidden frm-no-margin"> |
| 28 |
<button class="frm_submit_<?php echo ! empty( $values['ajax_load'] ) ? '' : 'no_'; ?>ajax button-primary"> |
| 29 |
<?php esc_attr_e( 'Update', 'formidable' ); ?>" |
| 30 |
</button> |
| 31 |
</p> |
| 32 |
|
| 33 |
<form method="post"> |
| 34 |
<?php require FrmAppHelper::plugin_path() . '/classes/views/frm-forms/form.php'; ?> |
| 35 |
</form> |
| 36 |
|
| 37 |
</div> |
| 38 |
</div> |
| 39 |
|
| 40 |
</div> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
<div class="frm_hidden"> |
| 44 |
<svg id="frm_break_field_group_svg" class="frmsvg"> |
| 45 |
<use xlink:href="#frm_break_field_group_icon"></use> |
| 46 |
</svg> |
| 47 |
<svg id="frm_gear_svg" class="frmsvg"> |
| 48 |
<use xlink:href="#frm_settings_icon"></use> |
| 49 |
</svg> |
| 50 |
<svg id="frm_trash_svg" class="frmsvg"> |
| 51 |
<use xlink:href="#frm_delete_icon"></use> |
| 52 |
</svg> |
| 53 |
</div> |
| 54 |
|