Files
mailu/admin/freeposte/admin/templates/user/settings.html
2016-08-18 20:42:35 +02:00

22 lines
637 B
HTML

{% extends "base.html" %}
{% block title %}
User settings
{% endblock %}
{% block subtitle %}
{{ user }}
{% 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>&nbsp;/&nbsp;15</span>',
oninput='$("#threshold").text(this.value);') }}
{{ macros.form_field(form.submit) }}
</form>
{% endblock %}