template: minor style changes
This commit is contained in:
parent
6b4ee0e4f6
commit
ce51f0ef7e
@ -26,8 +26,8 @@
|
||||
<form action="" method="post">{% csrf_token %}
|
||||
{% include "form.html" %}
|
||||
{% if edit_user %}
|
||||
<p>
|
||||
<a href="{% url 'user_reset_password' edit_user.id %}">{% trans 'Reset to First Password' %}</a>
|
||||
<p style="margin: -15px 0 25px 0;">
|
||||
<a class="btn btn-mini" href="{% url 'user_reset_password' edit_user.id %}"><i class="icon-exclamation-sign"></i> {% trans 'Reset to First Password' %}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% for field in form %}
|
||||
<div class="control-group{% if field.errors %} error{% endif%}">
|
||||
<div class="control-group {% if field.errors %}error{% endif%}">
|
||||
<label for="id_{{ field.name }}">{{ field.label }}{% if field.field.required %}<span class="required">*</span>{% endif %}:</label>
|
||||
{{ field }}
|
||||
{% if field.errors %}
|
||||
|
Loading…
Reference in New Issue
Block a user