From 7a40f7f259eb1af39e0410a8c6917482b41313fe Mon Sep 17 00:00:00 2001 From: Nurit Date: Wed, 4 Dec 2024 18:22:31 +0200 Subject: [PATCH] lint --- .../classes/render/widget-form-render.php | 40 +++++++++---------- modules/template-parts/templates/header.php | 6 +-- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/modules/forms/classes/render/widget-form-render.php b/modules/forms/classes/render/widget-form-render.php index 64a56752..6d30012d 100644 --- a/modules/forms/classes/render/widget-form-render.php +++ b/modules/forms/classes/render/widget-form-render.php @@ -39,19 +39,19 @@ public function render() { } ?> -
widget->print_render_attribute_string( 'form' ); ?>> + widget->print_render_attribute_string( 'form' ); ?>> render_text_container(); ?> - - - + + + - + -
widget->print_render_attribute_string( 'wrapper' ); ?>> +
widget->print_render_attribute_string( 'wrapper' ); ?>> settings['form_fields'] as $item_index => $item ) : $item['input_size'] = $this->settings['input_size']; @@ -91,14 +91,14 @@ public function render() { $print_label = ! in_array( $item['field_type'], [ 'hidden', 'html', 'step' ], true ); ?> -
widget->print_render_attribute_string( 'field-group' . $item_index ); ?>> +
widget->print_render_attribute_string( 'field-group' . $item_index ); ?>> + widget->add_render_attribute( 'input' . $item_index, 'class', 'elementor-field-textual' ); ?> - widget->print_render_attribute_string( 'input' . $item_index ); ?>> + widget->print_render_attribute_string( 'input' . $item_index ); ?>> widget ); endswitch; ?> -
+
render_button(); ?> -
- +
+ -
widget->print_render_attribute_string( 'submit-group' ); ?>> - -
+ + settings['text_description']; $has_description = ! empty( $description_text ); ?> -
+
%3$s', Elementor_Utils::validate_html_tag( $heading_tag ), 'class="ehp-form__heading"', esc_html( $heading_text ) ); // Escaped above @@ -276,9 +276,9 @@ protected function render_text_container(): void { } ?> -

+

-
+
> - + - + <title> <?php echo esc_html( wp_get_document_title() ); ?> - +