{% extends 'trosnoth/base.html' %}
{% load static %}
{% block head %}
  <title>{{ settings.serverName }} :: Manage Player</title>
{% endblock %}

{% block main %}
  <div id="container">
    <h1><a href="/">{{ settings.serverName }}</a></h1>
    <h2>Manage player: {{ selectedUser }}</h2>

    <ul class="messagelist">
      {% if message %}
        <li class="warning">{{ message }}</li>
      {% endif %}
    </ul>
    <form method="post">
    {% csrf_token %}
    <table>
      <tr>
        <th>Password:</th><td><a
          href="{% url 'admin:auth_user_password_change' id=selectedUser.user.id %}">change
        password</a> via Django Admin</td>
      </tr>
      {{ form.as_table }}
    </table>
    <input type="submit" value="Save settings">
    </form>
  </div>
{% endblock %}