mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
- LSformElement_select : ajout de l'id à l'<ul>
This commit is contained in:
parent
a74c503391
commit
3b0f980c69
1 changed files with 12 additions and 14 deletions
|
@ -1,17 +1,15 @@
|
||||||
|
<ul class='LSform' id='{$attr_name}'>
|
||||||
{if $freeze}
|
{if $freeze}
|
||||||
<ul class='LSform'>
|
{foreach from=$values item=value}
|
||||||
{foreach from=$values item=value}
|
<li>{$possible_values.$value}</li>
|
||||||
<li>{$possible_values.$value}</li>
|
{foreachelse}
|
||||||
{foreachelse}
|
<li>{$noValueTxt}</li>
|
||||||
<li>{$noValueTxt}</li>
|
{/foreach}
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
{else}
|
{else}
|
||||||
<ul class='LSform'>
|
<li>
|
||||||
<li>
|
<select name='{$attr_name}[]' {if $multiple}multiple{/if} class='LSformElement_select'>
|
||||||
<select name='{$attr_name}[]' {if $multiple}multiple{/if} class='LSformElement_select'>
|
{html_options options=$possible_values selected=$values}
|
||||||
{html_options options=$possible_values selected=$values}
|
</select>
|
||||||
</select>
|
</li>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{/if}
|
{/if}
|
||||||
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue