Skip to content

Commit

Permalink
fix: view error tip
Browse files Browse the repository at this point in the history
  • Loading branch information
jevantang committed Dec 6, 2024
1 parent 037f126 commit 7aa2557
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Commands/stubs/resources/views/layouts/tips.stub
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,4 @@
</div>
</div>
</div>
@elseif($errors->any())
<div aria-live="polite" aria-atomic="true" class="position-fixed top-50 start-50 translate-middle" style="z-index:99999">
@foreach ($errors->all() as $error)
<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<img src="/static/images/icon.png" width="20px" height="20px" class="rounded me-2" alt="Fresns">
<strong class="me-auto">Fresns</strong>
<small>400</small>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
{!! $error !!}
</div>
</div>
@endforeach
</div>
@endif

0 comments on commit 7aa2557

Please sign in to comment.