Fix firstSeed and secondSeed display problem in advanced parameters

This commit is contained in:
Claude Brisson
2024-05-09 22:11:13 +02:00
parent 9c66a5f1f4
commit b5cd04050d

View File

@@ -61,18 +61,18 @@
<label>First seeding method</label> <label>First seeding method</label>
<label><input type="checkbox" name="firstSeedAddRating" value="true" #if($tour.pairing.main.firstSeedAddCrit == 'RATING') checked #end/> add a sorting on rating</label> <label><input type="checkbox" name="firstSeedAddRating" value="true" #if($tour.pairing.main.firstSeedAddCrit == 'RATING') checked #end/> add a sorting on rating</label>
<select name="firstSeed"> <select name="firstSeed">
<option value="SPLIT_AND_RANDOM" #if($tour.pairing.main.seedSystem1 == 'SPLIT_AND_RANDOM') selected #end>Split and random</option> <option value="SPLIT_AND_RANDOM" #if($tour.pairing.main.firstSeed == 'SPLIT_AND_RANDOM') selected #end>Split and random</option>
<option value="SPLIT_AND_SLIP" #if($tour.pairing.main.seedSystem1 == 'SPLIT_AND_SLIP') selected #end>Split and slip</option> <option value="SPLIT_AND_SLIP" #if($tour.pairing.main.firstSeed == 'SPLIT_AND_SLIP') selected #end>Split and slip</option>
<option value="SPLIT_AND_FOLD" #if($tour.pairing.main.seedSystem1 == 'SPLIT_AND_FOLD') selected #end>Split and fold</option> <option value="SPLIT_AND_FOLD" #if($tour.pairing.main.firstSeed == 'SPLIT_AND_FOLD') selected #end>Split and fold</option>
</select> </select>
</div> </div>
<div class="roundbox field"> <div class="roundbox field">
<label>Second seeding method</label> <label>Second seeding method</label>
<label><input type="checkbox" name="secondSeedAddRating" value="true" #if($tour.pairing.main.secondSeedAddCrit == 'RATING') checked #end/> add a sorting on rating</label> <label><input type="checkbox" name="secondSeedAddRating" value="true" #if($tour.pairing.main.secondSeedAddCrit == 'RATING') checked #end/> add a sorting on rating</label>
<select name="secondSeed"> <select name="secondSeed">
<option value="SPLIT_AND_RANDOM" #if($tour.pairing.main.seedSystem2 == 'SPLIT_AND_RANDOM') selected #end>Split and random</option> <option value="SPLIT_AND_RANDOM" #if($tour.pairing.main.secondSeed == 'SPLIT_AND_RANDOM') selected #end>Split and random</option>
<option value="SPLIT_AND_SLIP" #if($tour.pairing.main.seedSystem2 == 'SPLIT_AND_SLIP') selected #end>Split and slip</option> <option value="SPLIT_AND_SLIP" #if($tour.pairing.main.secondSeed == 'SPLIT_AND_SLIP') selected #end>Split and slip</option>
<option value="SPLIT_AND_FOLD" #if($tour.pairing.main.seedSystem2 == 'SPLIT_AND_FOLD') selected #end>Split and fold</option> <option value="SPLIT_AND_FOLD" #if($tour.pairing.main.secondSeed == 'SPLIT_AND_FOLD') selected #end>Split and fold</option>
</select> </select>
</div> </div>
</div> </div>