Commit ad875bc0 authored by Michal Čihař's avatar Michal Čihař

Better look for preferences page

parent 1e6aed9a
......@@ -16,24 +16,26 @@
<form method="post" action="{% url 'accounts.views.profile' %}">
{% csrf_token %}
<fieldset>
<legend>{% trans "Preferences" %}</legend>
<div class="accordion">
<h2><a href="#">{% trans "Preferences" %}</a></h2>
<div>
<table>
{{ form.as_table }}
</table>
</fieldset>
<fieldset>
<legend>{% trans "Account" %}</legend>
</div>
<h2><a href="#">{% trans "Account" %}</a></h2>
<div>
<table>
{{ userform.as_table }}
</table>
<span class="helptext">{% trans "Your name and email will appear as author on Git commits." %}</span>
</fieldset>
<fieldset>
<legend>{% trans "Password" %}</legend>
</div>
<h2><a href="#">{% trans "Password" %}</a></h2>
<div>
{% 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>
</div>
</div>
<input type="submit" value="{% trans "Save" %}" class="button" />
</form>
......
......@@ -16,4 +16,5 @@ $(document).ready(function(){
});
return false;
});
$('.accordion').accordion();
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment