@if ($errors->any()) <div> <ul class="list-group"> @foreach ($errors->all() as $error) <div class="alert alert-danger" role="alert"> {{ $error }} </div> @endforeach </ul> </div> @endif
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter