Created
May 12, 2022 10:46
-
-
Save emmadesilva/cdab107d31e715f46264d322ca1e08dd to your computer and use it in GitHub Desktop.
Bootstrap 5 Form Errors for Blade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @if($errors->any()) | |
| <div class="alert alert-danger"> | |
| <ul class="mb-0"> | |
| @foreach($errors->all() as $error) | |
| <li>{{ $error }}</li> | |
| @endforeach | |
| </ul> | |
| </div> | |
| @endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment