Commit e7827cc7 authored by Patrick Kimber's avatar Patrick Kimber

form - tidy error message and bold labels

parent 779ba18c
......@@ -12,13 +12,18 @@
{% for field in form.visible_fields %}
<div class="pure-control-group">
{% if field.label %}
<label for='{{ field.id_for_label }}'>{{ field.label }}{% if field.help_text %} - {{ field.help_text }}{% endif %}:</label>
<strong>
<label for='{{ field.id_for_label }}'>{{ field.label }}{% if field.help_text %} - {{ field.help_text }}{% endif %}:</label>
</strong>
{% endif %}
{% if aligned %}
{{ field }}
{% endif %}
{% for error in field.errors %}
<span class="errorlist"><mark>{{ error }}</mark></span>
{% if not aligned %}
<br>
{% endif %}
{% endfor %}
{% if not aligned %}
{{ field }}
......
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