feat(template): Désactive Turbo pour le formulaire de création/modification de tutoriel.

This commit is contained in:
Serreau Jovann
2025-10-07 15:21:24 +02:00
parent 62f7c1b9f6
commit 37cc1704db
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
{% block content %}
<h2 class="text-3xl font-semibold text-gray-800 dark:text-gray-200">Crée un tutoriels</h2>
<div class="mt-5 bg-gray-800 rounded-lg shadow-lg p-6 space-y-4">
{{ form_start(form,{attr:{'data-turbo':'false'}}) }}
{{ form_start(form}) }}
{{ form_row(form.title) }}
{{ form_row(form.file) }}

View File

@@ -47,7 +47,7 @@
</div>
<div class="mt-10 p-6 bg-gray-100 dark:bg-gray-800 rounded-lg shadow w-full">
{{ form_start(form) }}
{{ form_start(form, {'attr': {'data-turbo': 'false'}}) }}
{{ form_row(form.title) }}
{{ form_row(form.file) }}
<button type="submit"