@extends('base')

@section('nav')
<ul class="nav navbar-nav">
    <li><a href="{{ url('/bo/docs/') }}">Accueil B.O.</a></li>
</ul>

<ul class="nav navbar-nav navbar-right">
    @if (Auth::guest())
        <li><a href="{{ url('/auth/login') }}">Connexion</a></li>
    @else
        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
            <ul class="dropdown-menu" role="menu">
                <li><a href="{{ url('/auth/logout') }}">Déconnexion</a></li>
            </ul>
        </li>
    @endif
</ul>

@endsection
