template: minor style changes

This commit is contained in:
Emanuel Schuetze 2013-02-05 23:42:30 +01:00
parent 6b4ee0e4f6
commit ce51f0ef7e
3 changed files with 4 additions and 4 deletions

View File

@ -332,7 +332,7 @@
<hr>
<h5>{% trans "For Administration only:" %}</h5>
<a href="{% url 'motion_reset' motion.id %}" class="btn btn-danger">
<i class="icon-exclamation-sign icon-white"></i> {% trans 'Reset' %}
<i class="icon-exclamation-sign icon-white"></i> {% trans 'Reset' %}
</a>
</div> <!--/well-->
{% endif %} {# end perms.motion.can_support_motion #}

View File

@ -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>

View File

@ -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 %}