mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
LSformElement_valueWithUnit : Fixed display error of form when attribute have no value
This commit is contained in:
parent
16f97af2ec
commit
8336c0c647
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{$noValueTxt}
|
||||
{/if}
|
||||
{else}
|
||||
{if $values_and_units[$value].valueWithUnit}
|
||||
{if $values_and_units[$value].valueWithUnit || !$values_and_units[$value]}
|
||||
<input name='{$attr_name}_valueWithUnit[]' type=text class='LSformElement_valueWithUnit' value="{$values_and_units[$value].valueWithUnit}"/>
|
||||
<select name='{$attr_name}_unitFact[]' class='LSform LSformElement_valueWithUnit'>
|
||||
{html_options options=$units selected=$values_and_units[$value].unitSill}
|
||||
|
|
Loading…
Reference in a new issue