Removed language selector. Should be used via settings.py now.
This commit is contained in:
parent
1b81cfee27
commit
6a991dba0d
@ -25,17 +25,6 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{% url user_login %}">{%trans "Login" %}</a></li>
|
<li><a href="{% url user_login %}">{%trans "Login" %}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li id="last">
|
|
||||||
<form action="/i18n/setlang/" method="post">
|
|
||||||
{% csrf_token %}
|
|
||||||
{%trans "Language" %}:
|
|
||||||
<select class="small-input" name="language" onchange="document.forms[0].submit()">
|
|
||||||
{% for lang in LANGUAGES %}
|
|
||||||
<option value="{{ lang.0 }}" {% if lang.0 == request.LANGUAGE_CODE %}selected{% endif %}>{{ lang.0 }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
</form>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user