- @if (count($errors) > 0)
-
-
-
{{ trans('strings.whoops') }}! {{ trans('auth.errorencountered') }}
-
- @foreach ($errors->all() as $error)
- - {{ $error }}
- @endforeach
-
-
- @endif
- @foreach (Alert::getMessages() as $type => $messages)
- @foreach ($messages as $message)
-
+ @section('resp-errors')
+ @if (count($errors) > 0)
+
- {!! $message !!}
+
{{ trans('strings.whoops') }}! {{ trans('auth.errorencountered') }}
+
+ @foreach ($errors->all() as $error)
+ - {{ $error }}
+ @endforeach
+
+ @endif
+ @show
+ @section('resp-alerts')
+ @foreach (Alert::getMessages() as $type => $messages)
+ @foreach ($messages as $message)
+
+
+ {!! $message !!}
+
+ @endforeach
@endforeach
- @endforeach
+ @show
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
index 903ec0a4e..522155139 100644
--- a/resources/views/layouts/master.blade.php
+++ b/resources/views/layouts/master.blade.php
@@ -260,25 +260,29 @@
- @if (count($errors) > 0)
-
-
-
{{ trans('strings.whoops') }}! {{ trans('auth.errorencountered') }}
-
- @foreach ($errors->all() as $error)
- - {{ $error }}
- @endforeach
-
-
- @endif
- @foreach (Alert::getMessages() as $type => $messages)
- @foreach ($messages as $message)
-
+ @section('resp-errors')
+ @if (count($errors) > 0)
+
- {!! $message !!}
+
{{ trans('strings.whoops') }}! {{ trans('auth.errorencountered') }}
+
+ @foreach ($errors->all() as $error)
+ - {{ $error }}
+ @endforeach
+
+ @endif
+ @show
+ @section('resp-alerts')
+ @foreach (Alert::getMessages() as $type => $messages)
+ @foreach ($messages as $message)
+
+
+ {!! $message !!}
+
+ @endforeach
@endforeach
- @endforeach
+ @show