##// END OF EJS Templates
Added proper russian translation of the template code. The form validation messages are not yet translated. This refs #36
Added proper russian translation of the template code. The form validation messages are not yet translated. This refs #36

File last commit:

r83:597e046e default
r83:597e046e default
Show More
settings.html
33 lines | 1006 B | text/html | HtmlLexer
{% extends "base.html" %}
{% load i18n %}
{% block head %}
<title>Neboard settings</title>
{% endblock %}
{% block content %}
<div class="post-form-w">
<div class="post-form">
<span class="form-title">{% trans "Theme" %}</span>
<form method="post">{% csrf_token %}
{% for choice in form.fields.theme.choices %}
<div class="settings_item">
<label for="{{ choice.0 }}">
<input type="radio" name="theme"
id="{{ choice.0 }}"
value="{{ choice.0 }}"
{% ifequal form.initial.theme choice.0 %}
checked
{% endifequal %}
/>
{{ choice.1 }}
</label>
</div>
{% endfor %}
<input type="submit" value="{% trans "Save" %}" />
</form>
</div>
</div>
{% endblock %}