Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's a problem with showing error alerts #5

Open
safjammed opened this issue Jul 14, 2018 · 2 comments
Open

There's a problem with showing error alerts #5

safjammed opened this issue Jul 14, 2018 · 2 comments

Comments

@safjammed
Copy link

in the views/partials.error.blade.php
The errors are not showing as expected with your code. Please Update it

@donbanate
Copy link

donbanate commented Jul 20, 2018

Use this code, just make a file in partials .blade.php then just include it in your app.blade.php

``
@if(count($errors) > 0)
@foreach($errors->all() as $error)


{{ $error }}

@Endforeach
@endif

@if(session('success'))


{{ session('success') }}

@endif

@if(session('error'))


{{session('error')}}

@endif

@jhun0601
Copy link

jhun0601 commented Jul 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants