settings.html
33 lines
| 1006 B
| text/html
|
HtmlLexer
|
r83 | {% 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 %} |