From 10ba050c4a027cf9d9b2f6eb42307b00ccfa39f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Tue, 3 Oct 2023 15:37:04 +0200 Subject: [PATCH] wip --- resources/views/actions/action.blade.php | 11 ++++++++-- resources/views/actions/form.blade.php | 8 -------- .../views/resources/table/actions.blade.php | 4 ++-- .../views/resources/table/table.blade.php | 2 +- src/Actions/Action.php | 2 +- src/Fields/Boolean.php | 1 - src/Fields/Editor.php | 1 - src/Fields/Field.php | 4 +++- src/Fields/Range.php | 2 -- stubs/Action.stub | 10 ++++++++++ stubs/Resource.stub | 20 +++++++++---------- 11 files changed, 36 insertions(+), 29 deletions(-) delete mode 100644 resources/views/actions/form.blade.php diff --git a/resources/views/actions/action.blade.php b/resources/views/actions/action.blade.php index 4271ce1a..f74774e9 100644 --- a/resources/views/actions/action.blade.php +++ b/resources/views/actions/action.blade.php @@ -1,8 +1,15 @@ - {!! $form !!} +
+ @csrf +
+ @foreach($fields as $field) + {!! $field !!} + @endforeach +
+
-