{% 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.check_perm(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.check_perm(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.ban %}

Banned by {{ user.ban.banned_by.display_name }} at {{ user.ban.created_at | full_datetime }} {% if user.ban.expires_at %} until {{ user.ban.expires_at | date }} {% endif %}

{{ user.ban.message }}
{% else %}
{{ _("Message to display to banned user") }}
{{ _("Expiry date. Leave blank for permanent ban") }}
{% endif %}

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

{% endif %} {% endblock %}