Skip to content
Snippets Groups Projects

Add custom templates for error messages in forms generated by django-material

Merged Jonathan Weth requested to merge bugfix/django-material-error-messages into master
All threads resolved!
2 files
+ 12
0
Compare changes
  • Side-by-side
  • Inline
Files
2
{% if bound_field.errors %}
<div class="errors">
{% for error in bound_field.errors %}<small class="error-text">{{ error }}</small>{% endfor %}
</div>
{% endif %}
Loading