fix typo in template condition

This commit is contained in:
Stefano Brentegani 2014-07-25 17:23:54 +02:00
parent b1b1f93e1e
commit 47bec43108

View File

@ -9,7 +9,7 @@
<select name="language">
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<option value="{{ language.code }}"{% if LANGUAGE_CODE = language.code %} selected{% endif %}>{{ language.name_local }} ({{ language.code }})</option>
<option value="{{ language.code }}"{% if LANGUAGE_CODE == language.code %} selected{% endif %}>{{ language.name_local }} ({{ language.code }})</option>
{% endfor %}
</select>
<input class="btn btn-primary" type="submit" value="Go" />