forked from lix-project/hydra
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 %]
|
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
|
||||||
</td>
|
</td>
|
||||||
<td class="inputalts" id="[% baseName %]">
|
<td class="inputalts" id="[% baseName %]">
|
||||||
[% FOREACH alt IN input.jobsetinputalts %]
|
[% FOREACH alt IN input.search_related('jobsetinputalts', {}, { order_by => 'altnr' }) %]
|
||||||
<span class="inputalt">
|
<span class="inputalt">
|
||||||
[% INCLUDE renderJobsetInputAlt alt=alt name="$baseName-values" %]
|
[% INCLUDE renderJobsetInputAlt alt=alt name="$baseName-values" %]
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
|
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
|
||||||
</td>
|
</td>
|
||||||
<td class="inputalts" id="[% baseName %]">
|
<td class="inputalts" id="[% baseName %]">
|
||||||
[% FOREACH alt IN input.jobsetinputalts %]
|
[% FOREACH alt IN input.search_related('jobsetinputalts', {}, { order_by => 'altnr' }) %]
|
||||||
<tt class="inputalt">
|
<tt class="inputalt">
|
||||||
[% IF input.type == "string" %]
|
[% IF input.type == "string" %]
|
||||||
"[% HTML.escape(alt.value) %]"
|
"[% HTML.escape(alt.value) %]"
|
||||||
|
|
Loading…
Reference in a new issue