summaryrefslogtreecommitdiff
path: root/resources/views/common/errors.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/common/errors.blade.php')
-rw-r--r--resources/views/common/errors.blade.php14
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