Maintain the order of the input alternatives
This commit is contained in:
parent
550bf210fe
commit
ee5b655535
|
@ -18,7 +18,7 @@
|
|||
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
|
||||
</td>
|
||||
<td class="inputalts" id="[% baseName %]">
|
||||
[% FOREACH alt IN input.jobsetinputalts %]
|
||||
[% FOREACH alt IN input.search_related('jobsetinputalts', {}, { order_by => 'altnr' }) %]
|
||||
<span class="inputalt">
|
||||
[% INCLUDE renderJobsetInputAlt alt=alt name="$baseName-values" %]
|
||||
</span>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
|
||||
</td>
|
||||
<td class="inputalts" id="[% baseName %]">
|
||||
[% FOREACH alt IN input.jobsetinputalts %]
|
||||
[% FOREACH alt IN input.search_related('jobsetinputalts', {}, { order_by => 'altnr' }) %]
|
||||
<tt class="inputalt">
|
||||
[% IF input.type == "string" %]
|
||||
"[% HTML.escape(alt.value) %]"
|
||||
|
|
Loading…
Reference in a new issue