From f19c40af88e52cafc85b7c2339a36237ae3b6ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigui=20Kess=C3=A9=20Emmanuel?= Date: Sun, 21 Jan 2024 12:40:02 +0100 Subject: [PATCH] :technologist: Put method and CSRF token after fields --- res/views/components/form.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/views/components/form.blade.php b/res/views/components/form.blade.php index d9241bf..b0722b3 100644 --- a/res/views/components/form.blade.php +++ b/res/views/components/form.blade.php @@ -1,5 +1,5 @@ @tag('form', $attributes->merge([...compact('action'), 'method' => $method === 'GET' ? $method : 'POST', 'enctype' => $hasFiles ? 'multipart/form-data' : false])) - @csrf - @method($method) {{ $slot }} -@endtag \ No newline at end of file + @method($method) + @csrf +@endtag