{% load bleach_tags extra_fields %}

Preview and edit the extra fields here. Admins can add or change field definitions in the admin panel.

{% for field_spec in object_extra_fields_spec %}
{{ field_spec.display_name }}
{% if field_spec.type == "rich_text" or field_spec.type == "json" %} {{ field_spec.get_type_display|default:field_spec.type }} {% endif %}
{% if field_spec.type == "rich_text" or field_spec.type == "json" %} {% else %}
{% include "user_extra_fields/field.html" with extra_fields=object.extra_fields field_spec=field_spec preview_report=False %}
{% endif %}
{% endfor %}