Files
rustyip/templates/_footer_lang.html
T

9 lines
408 B
HTML

<div class="footer-lang">
<label for="lang-select" class="sr-only">{{ t_language }}</label>
<select id="lang-select" class="lang-select" autocomplete="off" onchange="if(this.value)window.location.href=this.value+window.location.search">
{% for l in all_locales %}
<option value="/{{ l.tag() }}"{% if *l == locale %} selected{% endif %}>{{ l.name() }}</option>
{% endfor %}
</select>
</div>