{% endif %}
{% endblock %}
{% block content %}
{% with api_base = '/api/reports/' ~ r.code %}{% include "_report_body.html" %}{% endwith %}
{% endblock %}
{% block scripts %}
{% if bi and bi.mode == 'EMBED' %}{% endif %}
{# Only for a report with a parameter whose options depend on another one (see the form above). #}
{% if definition.params | selectattr('depends_on') | list %}{% endif %}
{% endblock %}