mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +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}
|
||||
<ul class='LSform'>
|
||||
{foreach from=$values item=value}
|
||||
<li>{$possible_values.$value}</li>
|
||||
{foreachelse}
|
||||
<li>{$noValueTxt}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<ul class='LSform'>
|
||||
<li>
|
||||
<select name='{$attr_name}[]' {if $multiple}multiple{/if} class='LSformElement_select'>
|
||||
{html_options options=$possible_values selected=$values}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue