<html> <head> <title>Notes to Myself - @yield('title')</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> @yield('header') </head> <body> <?php echo Navbar::withBrand('SuperNotes!', '/')->withContent(Navigation::links([['link' => '\\contact', 'title' => Icon::create('envelope') . ' Contact Me!']])->right()); ?> <div class="container"> @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif @if(Session::has('message')) <div class="alert alert-info"> {{Session::get('message')}} </div> @endif