develop
Last change
on this file since 194a359 was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added departments, edited users and added user settings
|
-
Property mode
set to
100644
|
File size:
543 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 | </script>
|
---|
21 | @endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.