{% load rest_framework %} {% include "statusboard/raw_data_form_errors.html" with errors=form.non_field_errors only %} {% for field in form %}
{% include "statusboard/raw_data_form_errors.html" with errors=field.errors only %} {{ field.label_tag|add_class:"col-sm-2 control-label" }}
{{ field|add_class:"form-control" }} {{ field.help_text|safe }}
{% endfor %}