]> git.localhorst.tv Git - alttp.git/blobdiff - resources/views/components/auth-validation-errors.blade.php
add discord auth
[alttp.git] / resources / views / components / auth-validation-errors.blade.php
diff --git a/resources/views/components/auth-validation-errors.blade.php b/resources/views/components/auth-validation-errors.blade.php
new file mode 100644 (file)
index 0000000..fc0eaeb
--- /dev/null
@@ -0,0 +1,15 @@
+@props(['errors'])
+
+@if ($errors->any())
+    <div {{ $attributes }}>
+        <div class="font-medium text-red-600">
+            {{ __('Whoops! Something went wrong.') }}
+        </div>
+
+        <ul class="mt-3 list-disc list-inside text-sm text-red-600">
+            @foreach ($errors->all() as $error)
+                <li>{{ $error }}</li>
+            @endforeach
+        </ul>
+    </div>
+@endif