develop
Last change
on this file since 9141ace was 24a616f, checked in by Berat Kjufliju <kufliju@…>, 3 years ago |
added documents crud, added last_seen_to_user, edited views
|
-
Property mode
set to
100644
|
File size:
547 bytes
|
Line | |
---|
1 | {{-- Validation errors --}}
|
---|
2 | @if($errors->any())
|
---|
3 | @foreach ($errors->all() as $error)
|
---|
4 | <script>
|
---|
5 | new Toast({
|
---|
6 | message: "{{$error}}",
|
---|
7 | type: 'danger'
|
---|
8 | });
|
---|
9 | </script>
|
---|
10 | @endforeach
|
---|
11 | @endif
|
---|
12 |
|
---|
13 | {{-- Http request alerts --}}
|
---|
14 | @if(session()->has("alert"))
|
---|
15 | <script>
|
---|
16 | new Toast({
|
---|
17 | message: "{{session()->get("alert.message")}}",
|
---|
18 | type: '{{session()->get("alert.type")}}'
|
---|
19 | });
|
---|
20 |
|
---|
21 |
|
---|
22 | </script>
|
---|
23 | @endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.