{%- set tabs = [
("project", "Project"),
("sessions", "Sessions"),
("quotes", "Quotes"),
("codebook", "Codebook"),
("analysis", "Analysis"),
] %}
{%- for tab_id, tab_label in tabs %}
{%- set is_active = (active_tab == tab_id) if active_tab is defined else (tab_id == "project") %}
{%- if report_url is defined and report_url %}
{{ tab_label }}
{%- else %}
{%- endif %}
{%- endfor %}
{%- if report_url is defined and report_url %}
{%- else %}
{%- endif %}