summaryrefslogtreecommitdiff
path: root/resources/views/common/errors.blade.php
diff options
context:
space:
mode:
authorMarvin Borner2018-12-05 17:31:36 +0100
committerMarvin Borner2018-12-05 17:31:36 +0100
commit9d1a810fa983a045294e6d0b8ad761f5dbfb8939 (patch)
tree46c8796cd6747b3746478b4e3b8b29226f588ddb /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.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