tethys/resources/views/settings/includes/partials/breadcrumbs.blade.php

14 lines
486 B
PHP
Raw Normal View History

2018-08-31 14:47:04 +00:00
@if ($breadcrumbs)
<div class="breadcrumb">
<i class="fa fa-home"></i>
<a href="{{route('settings.dashboard')}}" rel="Dashboard">Dashboard</a>
@for($i = 1; $i < count($breadcrumbs); $i++)
<?php
$breadcrumb = $breadcrumbs[$i];
?>
<i class="fa fa-angle-right"></i>
<a href="{{ $breadcrumb->url }}" rel="Dashboard">{{ $breadcrumb->title }}</a>
@endfor
</div>
@endif