<?php
/**
 * Created by PhpStorm.
 * User: islam
 * Date: 14/01/16
 * Time: 12:46 م
 */ ?>
@if(isset($crumbs))
<ol class="hr-breadcrumbs">
    @for($crumbIndex = 0; $crumbIndex < count($crumbs);$crumbIndex++)
        @if($crumbIndex == (count($crumbs) -1))
            <li class="active">
                <a>
                    {{$crumbs[$crumbIndex]->name}}
                </a>
            </li>
        @else
            <li>
                <a href="{{$crumbs[$crumbIndex]->uri}}">
                    {{$crumbs[$crumbIndex]->name}}
                </a>
            </li>
        @endif
    @endfor
</ol>
@endif