{% extends 'userena/base_userena.html' %}
{% load i18n %}

{% block title %}{% trans "Change password" %}{% endblock %}

{% block content_title %}<h2>{% blocktrans with user.username as username %}Account &raquo; {{ username }}{% endblocktrans %}</h2>{% endblock %}

{% block content %}
<form action="" method="post" id="password_change_form">
  <ul id="box-nav">
    <li class="first"><a href="{% url userena_profile_detail user.username %}"><span>{% trans 'View profile' %}</span></a></li>
    <li><a href="{% url userena_profile_edit user.username %}">{% trans "Edit profile" %}</a></li>
    <li  class="selected"><a href="{% url userena_password_change user.username %}">{% trans "Change password" %}</a></li>
    <li class="last"><a href="{% url userena_email_change user.username %}">{% trans "Change email" %}</a></li>
  </ul>
  <fieldset>
    <legend>{% trans "Change Password" %}</legend>
    {% csrf_token %}
    {{ form.as_p }}
  </fieldset>
  <input type="submit" value="{% trans "Change password" %}" />
</form>
{% endblock %}
