From 62a11168ecdb4530074ddff98acd02604220d977 Mon Sep 17 00:00:00 2001 From: Ro Date: Wed, 16 Aug 2023 18:08:14 -0700 Subject: [PATCH] Moved plugged in flash messaging Just moved system notifications to it's proper template file and layer TODO: make seperate notification display for errors, and neutral system info --- resources/views/back/locations.blade.php | 6 -- resources/views/frame.blade.php | 85 +++++++++++++----------- 2 files changed, 48 insertions(+), 43 deletions(-) diff --git a/resources/views/back/locations.blade.php b/resources/views/back/locations.blade.php index 8bff2b5..2b99109 100644 --- a/resources/views/back/locations.blade.php +++ b/resources/views/back/locations.blade.php @@ -4,12 +4,6 @@ @section('main-content') @parent - @if($errors->any()) -

{{$errors->first()}}

- @endif - @if(session('message')) - {!! session('message') !!} - @endif

Locations

diff --git a/resources/views/frame.blade.php b/resources/views/frame.blade.php index 39abc78..9605183 100644 --- a/resources/views/frame.blade.php +++ b/resources/views/frame.blade.php @@ -1,41 +1,52 @@ - - - - @yield('title') - - - - -
- -
-
- -
-
- @section('main-content') - @show -
- - - + +
+ +
+ @if($errors->any()) +
+ {{$errors->first()}} +
+ @endif + @if(session('message')) +
+ {!! session('message') !!} +
+ @endif + +
+ @section('main-content') + @show +
+ + + + \ No newline at end of file