xmpp.chapril.org-conversejs/html/profile.html

44 lines
1.1 KiB
HTML
Raw Normal View History

2012-03-02 16:16:20 +01:00
{% extends "base.html" %}
{% load url from future %}
{% load i18n %}
{% block content %}
2012-03-02 16:38:41 +01:00
{% if form.errors or userform.errors %}
2012-03-02 16:16:20 +01:00
<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 17:39:45 +01:00
<div class="accordion">
<h2><a href="#">{% trans "Preferences" %}</a></h2>
<div>
2012-03-02 16:16:20 +01:00
<table>
{{ form.as_table }}
</table>
2012-03-02 17:39:45 +01:00
</div>
<h2><a href="#">{% trans "Account" %}</a></h2>
<div>
2012-03-02 16:38:41 +01:00
<table>
{{ userform.as_table }}
</table>
2012-03-02 16:39:54 +01:00
<span class="helptext">{% trans "Your name and email will appear as author on Git commits." %}</span>
2012-03-02 17:39:45 +01:00
</div>
<h2><a href="#">{% trans "Password" %}</a></h2>
<div>
2012-03-02 16:23:51 +01:00
{% url 'django.contrib.auth.views.password_change' as pw_url %}
{% blocktrans %}You can change password on <a href="{{ pw_url }}">separate page</a>.{% endblocktrans %}
2012-03-02 17:39:45 +01:00
</div>
</div>
2012-03-02 16:16:20 +01:00
2012-03-02 16:25:57 +01:00
<input type="submit" value="{% trans "Save" %}" class="button" />
2012-03-02 16:16:20 +01:00
</form>
{% endblock %}