2008-10-27 11:56:19 +01:00
|
|
|
<ul class='LSform' id='{$attr_name}'>
|
2008-10-16 15:03:45 +02:00
|
|
|
{if $freeze}
|
2008-10-27 11:56:19 +01:00
|
|
|
{foreach from=$values item=value}
|
2010-11-15 17:33:47 +01:00
|
|
|
{if $possible_values.$value}
|
2008-10-27 11:56:19 +01:00
|
|
|
<li>{$possible_values.$value}</li>
|
2010-11-15 17:33:47 +01:00
|
|
|
{else}
|
|
|
|
<li class='LSform-errors'>{getFData format=$unrecognized_value_label_format data=$value}</li>
|
|
|
|
{/if}
|
2008-10-27 11:56:19 +01:00
|
|
|
{foreachelse}
|
|
|
|
<li>{$noValueTxt}</li>
|
|
|
|
{/foreach}
|
2008-10-16 15:03:45 +02:00
|
|
|
{else}
|
2008-10-27 11:56:19 +01:00
|
|
|
<li>
|
|
|
|
<select name='{$attr_name}[]' {if $multiple}multiple{/if} class='LSformElement_select'>
|
|
|
|
{html_options options=$possible_values selected=$values}
|
|
|
|
</select>
|
|
|
|
</li>
|
2008-10-16 15:03:45 +02:00
|
|
|
{/if}
|
2008-10-27 11:56:19 +01:00
|
|
|
</ul>
|