##// END OF EJS Templates
Truncate post texts by words preserving html tags, not just by chars.
Truncate post texts by words preserving html tags, not just by chars.

File last commit:

r36:96bcee52 default
r61:4d743e53 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 %}