laravel-6 support
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
@if ($breadcrumbs)
|
||||
<ol class="breadcrumb">
|
||||
@foreach ($breadcrumbs as $breadcrumb)
|
||||
@if ($breadcrumb->url && !$breadcrumb->last)
|
||||
<li><a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a></li>
|
||||
@else
|
||||
<li class="active">{{ $breadcrumb->title }}</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ol>
|
||||
@if (count($breadcrumbs))
|
||||
|
||||
<ol class="breadcrumb">
|
||||
@foreach ($breadcrumbs as $breadcrumb)
|
||||
|
||||
@if ($breadcrumb->url && !$loop->last)
|
||||
<li><a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a></li>
|
||||
@else
|
||||
<li class="active">{{ $breadcrumb->title }}</li>
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
</ol>
|
||||
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user