{% load i18n %} {% load txcommontags %} {% load compress %} {% compress js %} {% endcompress %}
?
{% csrf_token %} {% comment %} Overridden form_as_table_rows in order to better customize it. {% endcomment %} {% if create_resource_form %} {% if create_resource_form.non_field_errors %} {% endif %}
{% for field in create_resource_form %} {% if field.is_hidden %} {{ field }} {% if field.errors %}

{{ field }}

{% for error in field.errors %}{{ error }}{% endfor %}

{% endif %} {% else %}
{{ field.errors }} {{ field.label_tag }} {% if field.field.required %}*{% endif %} {{ field }}
{% comment %} {{ field.label }}: {% if field.field.required %}*{% endif %}

{{ field }}

{% if field.errors %}

{% for error in field.errors %}{{ error }}{% endfor %}

{% endif %} {% endcomment %} {% endif %} {% endfor %}
{% endif %}