diff options
author | Marvin Borner | 2018-12-05 17:31:36 +0100 |
---|---|---|
committer | Marvin Borner | 2018-12-05 17:31:36 +0100 |
commit | 9d1a810fa983a045294e6d0b8ad761f5dbfb8939 (patch) | |
tree | 46c8796cd6747b3746478b4e3b8b29226f588ddb /resources/views/common/errors.blade.php |
Initial commit (actually already finished)
Diffstat (limited to 'resources/views/common/errors.blade.php')
-rw-r--r-- | resources/views/common/errors.blade.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/common/errors.blade.php b/resources/views/common/errors.blade.php new file mode 100644 index 0000000..c4394a4 --- /dev/null +++ b/resources/views/common/errors.blade.php @@ -0,0 +1,14 @@ +@if (count($errors) > 0) + <!-- Form Error List --> + <div class="alert alert-danger"> + <strong>Ups, etwas ist schiefgelaufen!</strong> + + <br><br> + + <ul> + @foreach ($errors->all() as $error) + <li>{{ $error }}</li> + @endforeach + </ul> + </div> +@endif |