{% load extra_fields %} {% if field_spec.type == "rich_text" or field_spec.type == "json" %}
This preview closely approximates report output using the report configuration and selected Word template settings.
{% endif %}JSON content will load when this preview opens.
{% elif field_spec.type == "rich_text" and lazy_richtext_url %}Rich text preview will load when this preview opens.
{% else %} {% include "user_extra_fields/field.html" with extra_fields=extra_fields field_spec=field_spec preview_report=preview_report %} {% endif %}