{% extends "base.html" %} {% load static from staticfiles %} {% load bootstrap %} {% block content %}

Modify {{ targetUser.username }}'s Profile


{% csrf_token %} {{ update_user_form|bootstrap }} {{ update_profile_form|bootstrap }}


{% if targetUser = user %}

For your own security, you are only able to change your password from the my profile page.

{% else %}

Change {{ targetUser.username }}'s Password


{% csrf_token %} {{ change_user_password_form|bootstrap }}


Delete {{ targetUser.username }}


This will permenantly delete {{ targetUser.username }}'s account, her/his forum posts, requests, events--EVERYTHING! This cannot be undone. This user owns the following items, all of which will be deleted:
{% if message_count > thread_count %}
Thread messages will automatically be recounted if you decide to delete this user.
{% endif %} {% if response_count > 0 %}
Request responses will automatically be recounted if you decide to delete this user.
{% endif %}
{% csrf_token %} {{ delete_user_form|bootstrap }}
{% endif %} {% endblock %}