{% extends "users/settings_base.html" %} {% block title %} {{ _("Moderator Tools") }} {% endblock %} {% block pane %}

{{ _("Moderator Tools") }}

{{ _("Edit Account") }}

{% from "macros/forms.html" import render_field, render_field_prefix, render_submit_field %}
{{ form.hidden_tag() }} {% if user.checkPerm(current_user, "CHANGE_USERNAMES") %} {{ render_field(form.username, tabindex=230) }} {{ render_field(form.display_name, tabindex=230) }} {{ render_field(form.forums_username, tabindex=230) }} {{ render_field_prefix(form.github_username, tabindex=230) }} {% endif %} {% if user.checkPerm(current_user, "CHANGE_RANK") %} {{ render_field(form.rank, tabindex=250) }} {% endif %}

{{ render_submit_field(form.submit, tabindex=280) }}

{{ _("Password") }}

{% if user.password %}

{{ _("Has password") }}

{% else %}

{{ _("Doesn't have password") }}

{% endif %} {% if not user.rank.atLeast(current_user.rank) %}

{{ _("Ban") }}

{% if user.rank.name == "BANNED" %}

Banned.

{% else %}
{% endif %}

{{ _("Change Email and Send Password Reset") }}

{% endif %} {% endblock %}