|
|
@ -1,4 +1,4 @@
|
|
|
|
{% extends "form.html" %}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% block title %}
|
|
|
|
User settings
|
|
|
|
User settings
|
|
|
@ -7,3 +7,15 @@ User settings
|
|
|
|
{% block subtitle %}
|
|
|
|
{% block subtitle %}
|
|
|
|
{{ user }}
|
|
|
|
{{ user }}
|
|
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block box_content %}
|
|
|
|
|
|
|
|
<form class="form" method="post" role="form">
|
|
|
|
|
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
|
|
|
{{ macros.form_field(form.displayed_name) }}
|
|
|
|
|
|
|
|
{{ macros.form_field(form.spam_enabled) }}
|
|
|
|
|
|
|
|
{{ macros.form_field(form.spam_threshold, step=1, max=15,
|
|
|
|
|
|
|
|
prepend='<span class="input-group-addon"><span id="threshold">'+(form.spam_threshold.data).__int__().__str__()+'</span> / 15</span>',
|
|
|
|
|
|
|
|
oninput='$("#threshold").text(this.value);') }}
|
|
|
|
|
|
|
|
{{ macros.form_field(form.submit) }}
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|