settings.html
33 lines
| 1006 B
| text/html
|
HtmlLexer
/ templates / settings.html
neko259
|
r35 | {% extends "base.html" %} | |
{% load i18n %} | |||
{% block head %} | |||
<title>Neboard settings</title> | |||
{% endblock %} | |||
{% block content %} | |||
neko259
|
r36 | <div class="post-form-w"> | |
neko259
|
r35 | <div class="post-form"> | |
<span class="form-title">{% trans "Theme" %}</span> | |||
<form method="post">{% csrf_token %} | |||
{% for choice in form.fields.theme.choices %} | |||
neko259
|
r36 | <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> | |||
neko259
|
r35 | {% endfor %} | |
<input type="submit" value="{% trans "Save" %}" /> | |||
</form> | |||
</div> | |||
neko259
|
r36 | </div> | |
neko259
|
r35 | ||
{% endblock %} |