Commit b6479e73 authored by Artem Serga's avatar Artem Serga

#6 - Refine code

parent ecee21cc
......@@ -77,7 +77,7 @@
{{ form.hidden_tag() if form.hidden_tag is defined }}
{% for f in form if f.type != 'HiddenField' and f.type != 'CSRFTokenField' %}
<div class="control-group{% if f.errors %} error{% endif %}">
<div class="control-group{{ ' error' if f.errors }}">
<div class="control-label">
{{ f.label.text }}
{% if h.is_required_form_field(f) %}
......
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