Uploading files
This commit is contained in:
24
cvkbrno/templates/cvkbrno_setlanguage.html~
Normal file
24
cvkbrno/templates/cvkbrno_setlanguage.html~
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "cvkbrnobase.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Jdu na vodu {% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
|
||||
<form action="{% url 'set_language' %}" method="post">{% csrf_token %}
|
||||
<input name="next" type="hidden" value="{{ redirect_to }}" />
|
||||
<select name="language">
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
{% get_available_languages as LANGUAGES %}
|
||||
{% get_language_info_list for LANGUAGES as languages %}
|
||||
{% for language in languages %}
|
||||
<option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected="selected"{% endif %}>
|
||||
{{ language.name_local }} ({{ language.code }})
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user