Commit 4a1404b0 authored by Christophe Siraut's avatar Christophe Siraut

Revert "Change behaviour of language links to fix #1052"

This reverts commit 5718157f.
parent 5718157f
......@@ -63,11 +63,7 @@
{% for lang_code, lang_name in languages %}
{% language lang_code %}
<form style="display:inline;" name="setLang{{ lang_name }}" action="/i18n/setlang/" method="POST">{% csrf_token %}
<input name="next" type="hidden" value="/" />
<input type="hidden" name="language" value="{{ lang_code }}" />
<a href="#" onclick="document.setLang{{ lang_name }}.submit();return false;">{{ lang_name }}</a>
</form>
<a href="{% url 'documentation_trans' %}">{{ lang_name }}</a>
{% endlanguage %}
{% endfor %}
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment