27 lines
616 B
HTML
27 lines
616 B
HTML
|
{% 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 %}
|
||
|
<table>
|
||
|
{{ form.as_table }}
|
||
|
</table>
|
||
|
|
||
|
<input type="submit" value="{% trans "Save "%}" class="button" />
|
||
|
</form>
|
||
|
|
||
|
{% endblock %}
|