diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 6f6cf2891..2000dad22 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -29,8 +29,33 @@ @section('sidebar') @endsection +@section('resp-alerts') +@endsection + +@section('resp-errors') +@endsection + @section('content')
+ @if (count($errors) > 0) +
+ + {{ trans('strings.whoops') }}! {{ trans('auth.errorencountered') }}

+ +
+ @endif + @foreach (Alert::getMessages() as $type => $messages) + @foreach ($messages as $message) + + @endforeach + @endforeach
{{ trans('strings.login') }}
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index 8ccea281d..2b9bc89ed 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -234,25 +234,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) -