source: resources/views/includes/flash-messages.blade.php

Last change on this file was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago
  • Initial commit;
  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[dfae77e]1@if ($message = Session::get('success'))
2 <div class="container">
3 <div class="alert alert-success alert-block alert-dismissible fade show">
4 <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
5 <strong>{{ $message }}</strong>
6 </div>
7 </div>
8@endif
9
10@if ($message = Session::get('error'))
11 <div class="container">
12 <div class="alert alert-danger alert-block alert-dismissible fade show">
13 <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
14 <strong>{{ $message }}</strong>
15 </div>
16 </div>
17@endif
18
19@if ($message = Session::get('warning'))
20 <div class="container">
21 <div class="alert alert-warning alert-block alert-dismissible fade show">
22 <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
23 <strong>{{ $message }}</strong>
24 </div>
25 </div>
26@endif
27
28@if ($message = Session::get('info'))
29 <div class="container">
30 <div class="alert alert-info alert-block alert-dismissible fade show">
31 <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
32 <strong>{{ $message }}</strong>
33 </div>
34 </div>
35@endif
36
37@if ($errors->any())
38 <div class="container">
39 <div class="alert alert-danger alert-dismissible fade show">
40 <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
41 Please check the form below for errors
42 </div>
43 </div>
44@endif
Note: See TracBrowser for help on using the repository browser.