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> <hr>
<h5>{% trans "For Administration only:" %}</h5> <h5>{% trans "For Administration only:" %}</h5>
<a href="{% url 'motion_reset' motion.id %}" class="btn btn-danger"> <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> </a>
</div> <!--/well--> </div> <!--/well-->
{% endif %} {# end perms.motion.can_support_motion #} {% endif %} {# end perms.motion.can_support_motion #}

View File

@ -26,8 +26,8 @@
<form action="" method="post">{% csrf_token %} <form action="" method="post">{% csrf_token %}
{% include "form.html" %} {% include "form.html" %}
{% if edit_user %} {% if edit_user %}
<p> <p style="margin: -15px 0 25px 0;">
<a href="{% url 'user_reset_password' edit_user.id %}">{% trans 'Reset to First Password' %}</a> <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> </p>
{% endif %} {% endif %}
<p> <p>

View File

@ -1,5 +1,5 @@
{% for field in form %} {% 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> <label for="id_{{ field.name }}">{{ field.label }}{% if field.field.required %}<span class="required">*</span>{% endif %}:</label>
{{ field }} {{ field }}
{% if field.errors %} {% if field.errors %}