| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | -<div id="frm_form_editor_container" class="frm-m-12 <?php echo ( $has_fields ? 'frm-has-fields' : '' ); ?>"> | |
| 6 | +<div id="frm_form_editor_container" class="<?php echo ( $has_fields ? 'frm-has-fields' : '' ); ?>"> | |
| 7 | 7 | |
| 8 | 8 | <?php |
| 9 | 9 | if ( $has_fields ) { |
| 10 | 10 | // Add form messages. |
| @@ -13,14 +13,14 @@ | ||
| 13 | 13 | ?> |
| 14 | 14 | |
| 15 | 15 | <div id="frm-fake-page" class="frm_hidden"> |
| 16 | 16 | <div class="frm-page-break"> |
| 17 | - <div class="frm-collapse-page button frm-button-secondary frm-button-sm"> | |
| 17 | + <div class="frm-collapse-page button frm-button-secondary"> | |
| 18 | 18 | <?php |
| 19 | 19 | /* translators: %s: The page number */ |
| 20 | 20 | printf( esc_html__( 'Page %s', 'formidable' ), '<span class="frm-page-num">1</span>' ); |
| 21 | 21 | ?> |
| 22 | - <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown6_icon', array( 'aria-hidden' => 'true' ) ); ?> | |
| 22 | + <i class="frm_icon_font frm_arrowdown6_icon"></i> | |
| 23 | 23 | </div> |
| 24 | 24 | </div> |
| 25 | 25 | </div> |
| 26 | 26 | |
| @@ -25,21 +25,15 @@ | ||
| 25 | 25 | </div> |
| 26 | 26 | |
| 27 | 27 | <ul id="frm-show-fields" class="frm_sorting inside"> |
| 28 | 28 | <?php |
| 29 | - if ( ! empty( $values['fields'] ) ) { | |
| 30 | - $grid_helper = new FrmFieldGridHelper(); | |
| 29 | + if ( isset( $values['fields'] ) && ! empty( $values['fields'] ) ) { | |
| 31 | 30 | $values['count'] = 0; |
| 32 | 31 | foreach ( $values['fields'] as $field ) { |
| 33 | 32 | $values['count']++; |
| 34 | - $grid_helper->set_field( $field ); | |
| 35 | - $grid_helper->maybe_begin_field_wrapper(); | |
| 36 | 33 | FrmFieldsController::load_single_field( $field, $values ); |
| 37 | - $grid_helper->sync_list_size(); | |
| 38 | 34 | unset( $field ); |
| 39 | 35 | } |
| 40 | - $grid_helper->force_close_field_wrapper(); | |
| 41 | - unset( $grid_helper ); | |
| 42 | 36 | } |
| 43 | 37 | ?> |
| 44 | 38 | </ul> |
| 45 | 39 | |
| @@ -63,4 +57,5 @@ | ||
| 63 | 57 | <?php do_action( 'frm_page_footer', array( 'table' => 'form-builder' ) ); ?> |
| 64 | 58 | </div> |
| 65 | 59 | <?php |
| 66 | 60 | FrmFieldsHelper::bulk_options_overlay(); |
| 61 | +FrmAppHelper::multiselect_accessibility(); | |