2015-07-12 19:01:42 +00:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-07-15 21:55:49 +00:00
|
|
|
|
2015-07-12 19:01:42 +00:00
|
|
|
<div class="row">
|
2015-07-15 21:55:49 +00:00
|
|
|
|
|
|
|
<div class="col-md-3 page-menu">
|
|
|
|
<h4>Books</h4>
|
2015-07-12 19:01:42 +00:00
|
|
|
<a href="/books/create">+ Add new book</a>
|
|
|
|
</div>
|
|
|
|
|
2015-07-15 21:55:49 +00:00
|
|
|
<div class="col-md-9">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
@foreach($books as $book)
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="book page-style">
|
|
|
|
<h3><a href="{{$book->getUrl()}}">{{$book->name}}</a></h3>
|
|
|
|
<p class="text-muted">{{$book->description}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
2015-07-12 19:01:42 +00:00
|
|
|
</div>
|
2015-07-15 21:55:49 +00:00
|
|
|
|
|
|
|
</div>
|
2015-07-12 19:01:42 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-07-15 21:55:49 +00:00
|
|
|
|
|
|
|
|
2015-07-12 19:01:42 +00:00
|
|
|
@stop
|