feat(formules): Ajoute des templates de configuration spécifiques aux types de formules.

This commit is contained in:
Serreau Jovann
2026-01-28 09:43:30 +01:00
parent c3f585bf2b
commit 0e03ca1fcd
4 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<div class="flex items-center space-x-3">
{# Bouton Nouvelle Formule avec animation au survol #}
<a data-turbo="false" href="{{ path('app_crm_formules_add', {type: 'pack'}) }}"
class="flex items-center space-x-2 px-6 py-3 bg-blue-600 hover:bg-blue-500 text-white text-[10px] font-black uppercase tracking-[0.2em] rounded-xl transition-all shadow-lg shadow-blue-600/20 group hover:-translate-y-0.5 active:translate-y-0">
class="hidden flex items-center space-x-2 px-6 py-3 bg-blue-600 hover:bg-blue-500 text-white text-[10px] font-black uppercase tracking-[0.2em] rounded-xl transition-all shadow-lg shadow-blue-600/20 group hover:-translate-y-0.5 active:translate-y-0">
<svg class="w-4 h-4 transform group-hover:rotate-90 transition-transform duration-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M12 4v16m8-8H4" />
</svg>

View File

@@ -0,0 +1 @@
dazdazdazdaz

View File

@@ -0,0 +1,3 @@
// add line for price + caution
// add line for product include in pack
// add line for options include in pack

View File

@@ -129,4 +129,5 @@
{{ form_end(form) }}
</div>
</div>
{% include 'dashboard/formules/config-'~formule.type~".twig" %}
{% endblock %}