{# CUI // SP-CTI — Reusable twin snapshot panel macro #} {# Usage: {% from "includes/twin_snapshot_panel.html" import snapshot_panel %} #} {# {{ snapshot_panel(snapshots, snap_endpoint, canvas_label="Baseline") }} #} {% macro snapshot_panel(snapshots, snap_endpoint, canvas_label="Baseline Snapshot") %}

1. {{ canvas_label }}

{% if snapshots %} {% else %}

No snapshots yet — take one below.

{% endif %}

A snapshot freezes the current state. Use it as the baseline for your next simulation.

{% endmacro %}