mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
21 lines
884 B
Smarty
21 lines
884 B
Smarty
<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}
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
|
{foreachelse}
|
|
{assign var=value value=""}
|
|
{assign var=parseValue value=""}
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
|
{/foreach}
|
|
{else}
|
|
{foreach from=$values item=value}
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
|
{foreachelse}
|
|
{assign var=value value=""}
|
|
{assign var=parseValue value=""}
|
|
<li>{include file="ls:$fieldTemplate"}</li>
|
|
{/foreach}
|
|
{/if}
|
|
</ul>
|