{# # Molecule: Add to Moodia Modal # NE PAS étendre base.html.twig — utilisé via include # # Sélecteur 3 étapes : cours → section → position # Navigation par clic direct, breadcrumb = indicateur d'étapes cliquable. # Requiert le contrôleur Stimulus `shared--add-to-moodia` sur un parent. # # Paramètres optionnels : # submitLabel string Libellé du bouton final (défaut : 'Ajouter ici') # submitIcon string Icône du bouton final (défaut : 'castia') # sourceIcon string Icône de la card source (défaut : 'bubul-castia') # sourceLabel string Sous-titre de la source (défaut : 'Podcast Castia') # sourceColorPrimary string Couleur principale de l'icône (défaut : 'primary') # sourceColorBg string Fond de la card source (défaut : null → bg-primary/5) #} {% set submitLabel = submitLabel ?? 'Ajouter ici' %} {% set submitIcon = submitIcon ?? 'castia' %} {% set sourceIcon = sourceIcon ?? 'bubul-castia' %} {% set sourceLabel = sourceLabel ?? 'Podcast Castia' %} {% set sourceColorPrimary = sourceColorPrimary ?? null %} {% set sourceColorBg = sourceColorBg ?? null %}