Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

django validation error css

{%for field in form %}
<div class="control-group {%if field.errors %}error{%endif%}">
{# render your field #}
</div>
{% endfor %}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #validation #error #css
ADD COMMENT
Topic
Name
4+9 =