{% extends "base.html" %} {% block title %}Inspection #{{ inspection.id }} — Results{% endblock %} {# The filtered list URL this page was opened from. Defined at TOP LEVEL, not inside the content block: Jinja blocks do not share scope, and the follow-up modal below sits in the extra_js block — from there a content-scoped back_url is Undefined and posts next="", silently dropping the very filters this mechanism exists to preserve. #} {% set back_url = request.args.get('next') or url_for('inspections.index') %} {% block extra_css %} {% endblock %} {% block content %}
| {{ hdr }} | {% endfor %}
|---|
| {{ row.get(hdr,'') }} | {% endfor %}
No rated fields in this inspection.
{% endif %} {% else %}No form fields found for this template.
{% endif %} {# Issues #} {% if issues %}| Severity | Area | Description | Status | |
|---|---|---|---|---|
| {{ issue.severity|title }} | {{ issue.area.name }} | {{ issue.description[:80] }}{% if issue.description|length > 80 %}…{% endif %} | {{ issue.status|replace('_',' ')|title }} | View |