| 1 |
{if:label} <label for='%%id%%' class='color'>%%label%%</label> {/if:label} |
| 2 |
{if:before_input} %%before_input%% {/if:before_input} |
| 3 |
<div class="input option_select %%name%%" {if:conditional}data-show="%%conditional%%"{/if:conditional}> |
| 4 |
<select name='%%name%%' id='%%id%%' |
| 5 |
{if:inputclass}class="%%inputclass%%"{/if:inputclass} |
| 6 |
{if:disabled} disabled {/if:disabled} |
| 7 |
> |
| 8 |
{for:options} |
| 9 |
<option value='%%key%%' {if:selected=%%key%%} selected {/if:selected=%%key%%} >%%item%%</option> |
| 10 |
{/for:options} |
| 11 |
</select> |
| 12 |
{if:help}<div class="help dashicons dashicons-info "><span>%%help%%</span></div>{/if:help} |
| 13 |
{if:error}<p class='error'>%%error%%</p>{/if:error} |
| 14 |
{if:warning}<p class='warning'>%%warning%%</p>{/if:warning} |
| 15 |
</div> |
| 16 |
|