2012-03-02 16:16:20 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load url from future %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if form.errors %}
|
|
|
|
<div class="ui-widget">
|
|
|
|
<div style="padding: 0pt 0.7em;" class="ui-state-error ui-corner-all">
|
|
|
|
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
|
|
|
{% trans "Please fix errors in the form." %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form method="post" action="{% url 'accounts.views.profile' %}">
|
|
|
|
{% csrf_token %}
|
2012-03-02 16:19:12 +01:00
|
|
|
<fieldset>
|
|
|
|
<legend>{% trans "Preferences" %}</legend>
|
2012-03-02 16:16:20 +01:00
|
|
|
<table>
|
|
|
|
{{ form.as_table }}
|
|
|
|
</table>
|
2012-03-02 16:19:12 +01:00
|
|
|
</fieldset>
|
2012-03-02 16:23:51 +01:00
|
|
|
<fieldset>
|
|
|
|
<legend>{% trans "Password" %}</legend>
|
|
|
|
{% url 'django.contrib.auth.views.password_change' as pw_url %}
|
|
|
|
{% blocktrans %}You can change password on <a href="{{ pw_url }}">separate page</a>.{% endblocktrans %}
|
|
|
|
</fieldset>
|
2012-03-02 16:16:20 +01:00
|
|
|
|
|
|
|
<input type="submit" value="{% trans "Save "%}" class="button" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|