Skip to content

Commit 8228782

Browse files
author
Gijs Jorissen
committed
More use of new directives
1 parent 90718ee commit 8228782

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

resources/views/bs4/alert.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class="alert alert-{{ $severity }}
66
"
77
role="alert"
88
>
9-
109
@istrue($dismissible)
1110
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
1211
<span aria-hidden="true">&times;</span>
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
<div class="jumbotron {{ $class or '' }} @if(isset($fullwidth) && $fullwidth) jumbotron-fluid @endif">
2-
@if(isset($fullwidth) && $fullwidth)
1+
<div
2+
class="jumbotron
3+
{{ $class or '' }}
4+
@istrue($fullwidth, 'jumbotron-fluid')
5+
"
6+
>
7+
@istrue($fullwidth)
38
<div class="container">
4-
@endif
9+
@endistrue
510

611
@isset($heading)
712
<h1 class="display-3">{{ $heading }}</h1>
813
@endisset
914

1015
{{ $slot }}
1116

12-
@if(isset($fullwidth) && $fullwidth)
17+
@istrue($fullwidth)
1318
</div>
14-
@endif
19+
@endistrue
1520
</div>

0 commit comments

Comments
 (0)