From c52a55dd5aa907f8fbdd961eb4f91b3681b7752a Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 13 Oct 2022 14:34:00 +1100 Subject: [PATCH] Added response alert for success and error Added response alert for success and error --- resources/views/components/response-alerts.blade.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 resources/views/components/response-alerts.blade.php diff --git a/resources/views/components/response-alerts.blade.php b/resources/views/components/response-alerts.blade.php new file mode 100644 index 0000000..da6f579 --- /dev/null +++ b/resources/views/components/response-alerts.blade.php @@ -0,0 +1,9 @@ +@if ($message = Session::get('success')) + +@elseif($message = Session::get('error')) + +@endif