{% load i18n static madga_studio_tags %} {% block title %}{{ site.name|default:"MADGA" }} · Studio{% endblock %} {# Per-Site theme overrides (accent color from Settings). #} {% if site %} {% endif %} {% block head_extra %}{% endblock %}
{% include "madga/studio/components/sidebar.html" %}
{% include "madga/studio/components/topbar.html" %}
{% block content %}{% endblock %}
{# Media picker portal — populated on demand via HTMX from any data-madga-mp-trigger button. #} {# Toasts: rendered from Django messages framework, auto-dismiss after 4s. #}
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{# Confirm modal — opened by any button with data-madga-confirm="message". The button must be inside a form. #} {% block body_extra %}{% endblock %}