From 5f18ccff2ccf318f0d27c8d134dc9cbbe7f12568 Mon Sep 17 00:00:00 2001 From: cp6 Date: Mon, 31 Oct 2022 12:02:56 +1100 Subject: [PATCH] Added and implemented a form-check input component --- .../views/components/form-check.blade.php | 7 +++++++ resources/views/servers/create.blade.php | 9 +-------- resources/views/servers/edit.blade.php | 19 ++++--------------- 3 files changed, 12 insertions(+), 23 deletions(-) create mode 100644 resources/views/components/form-check.blade.php diff --git a/resources/views/components/form-check.blade.php b/resources/views/components/form-check.blade.php new file mode 100644 index 0000000..7dc5a09 --- /dev/null +++ b/resources/views/components/form-check.blade.php @@ -0,0 +1,7 @@ +
+ + +
diff --git a/resources/views/servers/create.blade.php b/resources/views/servers/create.blade.php index 3ac6fe9..6169115 100644 --- a/resources/views/servers/create.blade.php +++ b/resources/views/servers/create.blade.php @@ -225,14 +225,7 @@ -
- - -
+
Insert server diff --git a/resources/views/servers/edit.blade.php b/resources/views/servers/edit.blade.php index 989f00d..5d47206 100644 --- a/resources/views/servers/edit.blade.php +++ b/resources/views/servers/edit.blade.php @@ -250,23 +250,12 @@
-
- active === 1) ? 'checked' : '' }}> - -
+
-
- show_public === 1) ? 'checked' : '' }}> - -
+