| @@ -19,14 +19,12 @@ | ||
| 19 | 19 | * |
| 20 | 20 | * @return void |
| 21 | 21 | */ |
| 22 | 22 | public function render( $field_settings, $form_id ) { |
| 23 | - $description = isset( $field_settings['description'] ) ? $field_settings['description'] : ''; | |
| 24 | - $name = isset( $field_settings['name'] ) ? $field_settings['name'] : ''; | |
| 25 | - $use_theme_css = isset( $form_settings['use_theme_css'] ) ? $form_settings['use_theme_css'] : 'wpuf-style'; | |
| 26 | - ?> | |
| 23 | + $description = isset( $field_settings['description'] ) ? $field_settings['description'] : ''; | |
| 24 | + $name = isset( $field_settings['name'] ) ? $field_settings['name'] : ''; ?> | |
| 27 | 25 | <li <?php $this->print_list_attributes( $field_settings ); ?>> |
| 28 | - <div class="wpuf-section-wrap wpuf-fields <?php echo 'section_' . esc_attr( $form_id ); ?><?php echo ' wpuf_' . esc_html( $name ) . '_' . esc_attr( $form_id ); ?>" data-style="<?php echo esc_attr( $use_theme_css ); ?>"> | |
| 26 | + <div class="wpuf-section-wrap wpuf-fields <?php echo 'section_' . esc_attr( $form_id ); ?><?php echo ' wpuf_' . esc_html( $name ) . '_' . esc_attr( $form_id ); ?>"> | |
| 29 | 27 | <h2 class="wpuf-section-title"><?php echo esc_attr( $field_settings['label'] ); ?></h2> |
| 30 | 28 | <div class="wpuf-section-details"><?php echo esc_attr( $description ); ?></div> |
| 31 | 29 | </div> |
| 32 | 30 | |