Commit 7b89e625 authored by Manuel Bua's avatar Manuel Bua

Classify user-input errors on postback

Make CSS selectors simpler for user-input errors.
parent b9ba001b
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<p class="help-block">{{ field.description }}</p> <p class="help-block">{{ field.description }}</p>
{% endif %} {% endif %}
{% if field.errors %} {% if field.errors %}
<ul> <ul class="input-errors">
{% for e in field.errors if e is string %} {% for e in field.errors if e is string %}
<li>{{ e }}</li> <li>{{ e }}</li>
{% endfor %} {% endfor %}
......
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