Only select default country in config if none are selected
This commit is contained in:
parent
96b9cce70c
commit
fde2c4db1e
|
@ -93,7 +93,11 @@
|
|||
<select name="country" id="config-country">
|
||||
{% for country in countries %}
|
||||
<option value="{{ country.value }}"
|
||||
{% if config.country in country.value %}
|
||||
{% if (
|
||||
config.country != '' and config.country in country.value
|
||||
) or (
|
||||
config.country == '' and country.value == '')
|
||||
%}
|
||||
selected
|
||||
{% endif %}>
|
||||
{{ country.name }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user