{% extends "base.html" %} {% block title %} Edit Profile | {{ user.username }} {% endblock %} {% block content %}

Editing {{ user.display_name }}'s profile

{{ _("Profile Picture") }}

{% if user.forums_username %}
{% endif %} {% if user.email %} Gravatar {% else %} Gravatar {% endif %}

{{ _("Passwords and Security") }}

{% if user == current_user %} {% endif %} {% if user.checkPerm(current_user, "CREATE_TOKEN") %} {% endif %}
Password: {% if user.password %} Set | Change {% else %} Not set | Set {% endif %}
API Tokens: Manage {{ user.tokens.count() }}

{{ _("Linked Accounts") }}

{% if current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.MODERATOR) %} {% endif %}
Forums {% if user.forums_username %} Connected {% elif user == current_user %} None {% endif %}
GitHub {% if user.github_username %}

Connected

{% if user == current_user %}

View ContentDB's GitHub Permissions

{% endif %} {% elif user == current_user %} Link Github {% else %} None {% endif %}
Admin {% if user.email %} Email {% else %} Email {% endif %}
{% from "macros/forms.html" import render_field, render_submit_field %}
Edit Details
{{ form.hidden_tag() }} {% if user.checkPerm(current_user, "CHANGE_USERNAMES") %} {{ render_field(form.display_name, tabindex=230) }} {{ render_field(form.forums_username, tabindex=230) }} {{ render_field(form.github_username, tabindex=230) }} {% endif %} {% if user.checkPerm(current_user, "CHANGE_PROFILE_URLS") %} {{ render_field(form.website_url, tabindex=232) }} {{ render_field(form.donate_url, tabindex=233) }} {% endif %} {% if user.checkPerm(current_user, "CHANGE_EMAIL") %} {{ render_field(form.email, tabindex=240) }} We'll send you an email to verify it if changed. {% endif %} {% if user.checkPerm(current_user, "CHANGE_RANK") %} {{ render_field(form.rank, tabindex=250) }} {% endif %}

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

{% endblock %}