Little bugfix for tournament country

This commit is contained in:
Claude Brisson
2024-03-10 13:44:15 +01:00
parent ba6aa8d3e3
commit 6f658295a9

View File

@@ -34,7 +34,7 @@
<option></option> <option></option>
#set($defaultCountry = $translate.defaultCountry[$request.lang]) #set($defaultCountry = $translate.defaultCountry[$request.lang])
#foreach($country in $countries.countries) #foreach($country in $countries.countries)
<option value="$country.key" #if($tour && $country.key == $tour.country || !$tour && $country.key == $defaultCountry) selected #end>$country.value</option> <option value="$country.key" #if($tour && $country.key == $tour.country.toLowerCase() || !$tour && $country.key == $defaultCountry) selected #end>$country.value</option>
#end #end
</select> </select>
</div> </div>