| @@ -57,20 +57,20 @@ | ||
| 57 | 57 | * @since 1.0.0 |
| 58 | 58 | * @access public |
| 59 | 59 | */ |
| 60 | 60 | public function content_template() { |
| 61 | + $control_uid = $this->get_control_uid(); | |
| 61 | 62 | ?> |
| 62 | - <div class="elementor-control-field {{ data.content_classes }}"> | |
| 63 | + <div class="elementor-control-field"> | |
| 63 | 64 | <# if ( data.label ) {#> |
| 64 | - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 65 | + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 65 | 66 | <# } #> |
| 66 | 67 | <div class="elementor-control-input-wrapper elementor-control-unit-5"> |
| 67 | - <select id="<?php $this->print_control_uid(); ?>" data-setting="{{ data.name }}"> | |
| 68 | + <select id="<?php echo $control_uid; ?>" data-setting="{{ data.name }}"> | |
| 68 | 69 | <# |
| 69 | 70 | var printOptions = function( options ) { |
| 70 | 71 | _.each( options, function( option_title, option_value ) { #> |
| 71 | - <?php // If the option title is array of title & icon. ?> | |
| 72 | - <option value="{{ option_value }}">{{{ option_title?.title || option_title }}}</option> | |
| 72 | + <option value="{{ option_value }}">{{{ option_title }}}</option> | |
| 73 | 73 | <# } ); |
| 74 | 74 | }; |
| 75 | 75 | |
| 76 | 76 | if ( data.groups ) { |