{% extends "ldt/user/user_base.html" %}
{# form of password change #}
{% load i18n %}

{% block css_import %}
{{ block.super }}
    <style type="text/css">
        label.error { float: none; color: red; padding-left: .5em; vertical-align: middle; }
    </style>
{% endblock %}

{% block content %}
{{ block.super }}
{% if form %}
	<form method="post" id="my_form"
		action="{% url ldt.user.views.change_password %}"
		accept-charset="utf-8">
	{% csrf_token %}
	<table>
		{{ form.as_table }}
	</table>
	<input type="submit" class="search_submit" /></form>
	</div>
{% else %}
<p>{% trans "Your new password has been saved." %}</p>
{% endif %}
{% endblock%}
