Skip to content

Commit 7aa2557

Browse files
committed
fix: view error tip
1 parent 037f126 commit 7aa2557

File tree

1 file changed

+0
-16
lines changed
  • src/Commands/stubs/resources/views/layouts

1 file changed

+0
-16
lines changed

src/Commands/stubs/resources/views/layouts/tips.stub

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,4 @@
3030
</div>
3131
</div>
3232
</div>
33-
@elseif($errors->any())
34-
<div aria-live="polite" aria-atomic="true" class="position-fixed top-50 start-50 translate-middle" style="z-index:99999">
35-
@foreach ($errors->all() as $error)
36-
<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true">
37-
<div class="toast-header">
38-
<img src="/static/images/icon.png" width="20px" height="20px" class="rounded me-2" alt="Fresns">
39-
<strong class="me-auto">Fresns</strong>
40-
<small>400</small>
41-
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
42-
</div>
43-
<div class="toast-body">
44-
{!! $error !!}
45-
</div>
46-
</div>
47-
@endforeach
48-
</div>
4933
@endif

0 commit comments

Comments
 (0)