{% extends 'platform/base.html.twig' %}

{% block title %}Modifier {{ theme.nom }} | SALSABIL Madrassas{% endblock %}

{% block content %}
    <div class="admin-page-stack">
        <section class="admin-page-header">
            <div>
                <div class="admin-hero-breadcrumbs">SALSABIL / THÈMES</div>
                <h1 class="admin-page-title">Modifier {{ theme.nom }}</h1>
                <p>Mettez à jour le libellé, le code technique ou la visibilité du thème.</p>
            </div>
            <a class="admin-hero-action" href="{{ path('platform_theme_show', {id: theme.id}) }}">
                <span class="material-symbols-outlined">visibility</span>
                <span>Voir la fiche</span>
            </a>
        </section>

        {% include 'platform/theme/_form.html.twig' with {button_label: 'Mettre à jour'} %}
    </div>
{% endblock %}
