mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-09-01 08:32:13 +00:00
base.html: add language selector
This commit is contained in:
parent
d79fc2a45f
commit
eb14141371
@ -29,6 +29,16 @@
|
|||||||
<li><a href={% url pyi2phosts.postkey.views.addkey %}>Register a domain</a></li>
|
<li><a href={% url pyi2phosts.postkey.views.addkey %}>Register a domain</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<form action="/i18n/setlang/" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
{% for lang in LANGUAGES %}
|
||||||
|
<input type="radio" value="{{ lang.0 }}" name="language" />
|
||||||
|
<img src="/static/{{ lang.0 }}.png" width="16" height="11" alt="{{ lang.0 }}"/>
|
||||||
|
{% endfor %}
|
||||||
|
<input type="submit" value="Set" />
|
||||||
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user