From 367f02af8642c23674afbfefedc456e7cedb6785 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Mon, 9 Sep 2024 16:34:04 -0700 Subject: [PATCH] more partials and includes --- resources/views/modals/category.blade.php | 13 ++----------- resources/views/modals/location.blade.php | 12 ++---------- resources/views/modals/model.blade.php | 16 ++-------------- .../modals/partials/categories-select.blade.php | 8 ++++++++ resources/views/modals/partials/name.blade.php | 7 +++++++ resources/views/modals/user.blade.php | 5 +---- 6 files changed, 22 insertions(+), 39 deletions(-) create mode 100644 resources/views/modals/partials/categories-select.blade.php create mode 100644 resources/views/modals/partials/name.blade.php diff --git a/resources/views/modals/category.blade.php b/resources/views/modals/category.blade.php index c07b092ace..4dfe26d026 100644 --- a/resources/views/modals/category.blade.php +++ b/resources/views/modals/category.blade.php @@ -11,19 +11,10 @@ {{ csrf_field() }} -
-
-
- -
-
+ @include('modals.partials.name') - + @include('modals.partials.footer') diff --git a/resources/views/modals/location.blade.php b/resources/views/modals/location.blade.php index d705f5500e..9817e1ddd7 100644 --- a/resources/views/modals/location.blade.php +++ b/resources/views/modals/location.blade.php @@ -9,11 +9,7 @@
-
-
-
-
+ @include('modals.partials.name')
@@ -26,10 +22,6 @@
- - + @include('modals.partials.footer') diff --git a/resources/views/modals/model.blade.php b/resources/views/modals/model.blade.php index 92823c8b99..3b6bd47e5f 100644 --- a/resources/views/modals/model.blade.php +++ b/resources/views/modals/model.blade.php @@ -9,20 +9,8 @@
-
-
-
-
- -
-
-
- -
-
- - + @include('modals.partials.name') + @include('modals.partials.categories-select') @include('modals.partials.manufacturer-select') @include('modals.partials.model-number') @include('modals.partials.fieldset-select') diff --git a/resources/views/modals/partials/categories-select.blade.php b/resources/views/modals/partials/categories-select.blade.php new file mode 100644 index 0000000000..9cbc721748 --- /dev/null +++ b/resources/views/modals/partials/categories-select.blade.php @@ -0,0 +1,8 @@ + +
+
+
+ +
+
+ \ No newline at end of file diff --git a/resources/views/modals/partials/name.blade.php b/resources/views/modals/partials/name.blade.php new file mode 100644 index 0000000000..92bd7a62b7 --- /dev/null +++ b/resources/views/modals/partials/name.blade.php @@ -0,0 +1,7 @@ + +
+
+
+
+ \ No newline at end of file diff --git a/resources/views/modals/user.blade.php b/resources/views/modals/user.blade.php index 01c6093331..321b6b03ab 100644 --- a/resources/views/modals/user.blade.php +++ b/resources/views/modals/user.blade.php @@ -95,10 +95,7 @@
- + @include('modals.partials.footer')