LSformElement::supannLabeledValue : Fixed display problems

This commit is contained in:
Benjamin Renard 2012-09-12 14:09:18 +02:00
parent fb7172d3bd
commit a04cded17a
2 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,7 @@
<li>{include file=$fieldTemplate}</li>
{foreachelse}
{assign var=value value=""}
{assign var=parseValue value=""}
<li>{include file=$fieldTemplate}</li>
{/foreach}
{else}
@ -13,6 +14,7 @@
<li>{include file=$fieldTemplate}</li>
{foreachelse}
{assign var=value value=""}
{assign var=parseValue value=""}
<li>{include file=$fieldTemplate}</li>
{/foreach}
{/if}

View file

@ -9,5 +9,9 @@
{$noValueTxt}
{/if}
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}" autocomplete="off"/>
{if $parseValue}
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$parseValue.value}" autocomplete="off"/>
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}" autocomplete="off"/>
{/if}
{/if}