pmanager icon indicating copy to clipboard operation
pmanager copied to clipboard

There's a problem with showing error alerts

Open safjammed opened this issue 5 years ago • 2 comments

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

safjammed avatar Jul 14 '18 23:07 safjammed

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

donbanate avatar Jul 20 '18 04:07 donbanate

Thanks

On Fri, Jul 20, 2018, 12:52 PM Don [email protected] wrote:

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

`` @if https://github.com/if(count($errors) > 0) @foreach https://github.com/foreach($errors->all() as $error)

{{ $error }}

@endforeach @endif https://github.com/endif

@if https://github.com/if(session('success'))

{{ session('success') }}

@endif https://github.com/endif

@if https://github.com/if(session('error'))

{{session('error')}}

@endif https://github.com/endif

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daveozoalor/pmanager/issues/5#issuecomment-406488519, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae-Blpco5w-k_LTgSEvs_oyIMLkbaSWwks5uIWIRgaJpZM4VQDQx .

jhun0601 avatar Jul 20 '18 05:07 jhun0601