{% load static %} {# ============================================================ quadrant_editor.html – Reusable template fragment Usage: {% include "rotation/components/quadrant_editor.html" %} Requires: no extra template context variables. Pre-populated JSON can be injected from the parent template via JS: window.quadrantEditor.loadFromJson('{{ existing_json|escapejs }}'); ============================================================ #} {# Hidden input – carries the regime-allocation JSON on form submit #} {# Editor mount point #}