2012-08-10 12:32:54 +02:00
|
|
|
<ul class='LSform{if $multiple && !$freeze} LSformElement_multiple'{/if}' id='{$attr_name}'>
|
|
|
|
{if $parseValues}
|
|
|
|
{foreach from=$parseValues item=parseValue}
|
|
|
|
{if $parseValue.translated}{assign var=value value=$parseValue.translated}{else}{assign var=value value=$parseValue.value}{/if}
|
|
|
|
{if $parseValue.label!="no"}{assign var=label value=$parseValue.label}{else}{assign var=label value=""}{/if}
|
2013-06-17 23:39:22 +02:00
|
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
2012-08-10 12:32:54 +02:00
|
|
|
{foreachelse}
|
|
|
|
{assign var=value value=""}
|
2012-09-12 14:09:18 +02:00
|
|
|
{assign var=parseValue value=""}
|
2013-06-17 23:39:22 +02:00
|
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
2012-08-10 12:32:54 +02:00
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
{foreach from=$values item=value}
|
2013-06-17 23:39:22 +02:00
|
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
2012-08-10 12:32:54 +02:00
|
|
|
{foreachelse}
|
|
|
|
{assign var=value value=""}
|
2012-09-12 14:09:18 +02:00
|
|
|
{assign var=parseValue value=""}
|
2013-06-17 23:39:22 +02:00
|
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
2012-08-10 12:32:54 +02:00
|
|
|
{/foreach}
|
|
|
|
{/if}
|
|
|
|
</ul>
|