<# _.each(shortcode.input, function(input, key) { #> <# const inputLabel = input.label ? utils.updatePostTypeLabel(input.label): ''; let selectedOption, selectedValue = false; if ( selectedData.configOptions ) { selectedOption = selectedData.configOptions.find( config => config.key === key ); selectedValue = typeof selectedOption === 'undefined' ? false : selectedOption.value; } #> <#if(input.type == 'select'){#> <#}#> <#if(input.type == 'input'){#> <#}#> <#if(input.type == 'hidden'){#> <#}#> <#if(input.type == 'checkbox'){#> <#= input.disable_br ? '':'
' #> <#}#> <# }); #>