{% comment %}

    Copyright 2018 DeNova
    Last modified: 2018-02-20

{% endcomment %}
{% load i18n %}

<form action="/i18n/setlang/" method="post" style="display: inline;" id="language-form">
  {% csrf_token %}
  <div style="display: inline;">
    <select name="language" onchange="javascript:form.submit()">
      {% for lang in LANGUAGES %}
        <option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>{{ lang.1 }}</option>
      {% endfor %}
    </select>
  </div>
</form>
