mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 08:53:47 +01:00
19 lines
537 B
Smarty
19 lines
537 B
Smarty
<ul class='LSform' id='{$attr_name}'>
|
|
{if $freeze}
|
|
{foreach from=$values item=value}
|
|
{if $possible_values.$value}
|
|
<li>{$possible_values.$value}</li>
|
|
{else}
|
|
<li class='LSform-errors'>{getFData format=$unrecognized_value_label_format data=$value}</li>
|
|
{/if}
|
|
{foreachelse}
|
|
<li>{$noValueTxt}</li>
|
|
{/foreach}
|
|
{else}
|
|
<li>
|
|
<select name='{$attr_name}[]' {if $multiple}multiple{/if} class='LSformElement_select'>
|
|
{html_options options=$possible_values selected=$values}
|
|
</select>
|
|
</li>
|
|
{/if}
|
|
</ul>
|