Files
roi-theme/wp-content/plugins/thrive-visual-editor/inc/backbone/controls/select.phtml
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

20 lines
1.1 KiB
PHTML
Executable File

<div class="control-grid<#=this.getExtraClass()#>">
<div class="label"><#= this.get_config( 'name' ) || this.get_config('label') || this.el.dataset.name #>
<# if ( this.model.config.info ) { #>
<span class="click tve-select-info" data-fn="openTooltip" <#=this.model.config.info_hover ? 'data-paneltlt-hover' : ''#> ><?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
<# if ( this.model.config.instructions ) { #>
<span class="click" data-type="<#=this.model.config.instructions.type#>" data-url="<#=this.model.config.instructions.url#>" data-link="<#=this.model.config.instructions.link#>" data-fn="openInstructionsLightbox"><#= TVE.icon( this.model.config.instructions.type + "-instructions" ) #></span>
<# } #>
</div>
<div class="input">
<select class="tve-select change" data-fn="changed">
<# _.each(this.get_options(), function(option) { #>
<option class="tve-option <#= option.class #>" value="<#= option.value #>"
<#= option.default? ' selected':'' #> <#= option.disabled? ' disabled':'' #> <#= option.logo ? ` data-image="${option.logo}"` : '' #>><#= option.name #></option>
<# }); #>
</select>
</div>
</div>