- LSformElement_select : ajout de l'id à l'<ul>

This commit is contained in:
Benjamin Renard 2008-10-27 10:56:19 +00:00
parent a74c503391
commit 3b0f980c69

View file

@ -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>