✨ feat(formules): Ajoute des templates de configuration spécifiques aux types de formules.
This commit is contained in:
@@ -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>
|
||||
|
||||
1
templates/dashboard/formules/config-free.twig
Normal file
1
templates/dashboard/formules/config-free.twig
Normal file
@@ -0,0 +1 @@
|
||||
dazdazdazdaz
|
||||
3
templates/dashboard/formules/config-pack.twig
Normal file
3
templates/dashboard/formules/config-pack.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
// add line for price + caution
|
||||
// add line for product include in pack
|
||||
// add line for options include in pack
|
||||
@@ -129,4 +129,5 @@
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
</div>
|
||||
{% include 'dashboard/formules/config-'~formule.type~".twig" %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user