diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index 2e03dd987..4b6c7fcfc 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -59,7 +59,7 @@
{{ field.help_text }}
{% endif %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text }} + {% endif %}{{ field.help_text }}
{% endif %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text }} + {% endif %}{{ field.help_text }}
{% endif %}