1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00
BookStack/resources/views/books/show.blade.php

17 lines
450 B
PHP
Raw Normal View History

2015-07-12 21:01:42 +02:00
@extends('base')
@section('content')
<h2>{{$book->name}}</h2>
<p class="text-muted">{{$book->description}}</p>
2015-07-12 22:31:15 +02:00
<a href="{{$book->getUrl() . '/page/create'}}">+ New Page</a>
<h4>Pages:</h4>
@if(count($book->pages) > 0)
@foreach($book->pages as $page)
<a href="{{$page->getUrl()}}">{{$page->name}}</a><br>
@endforeach
@else
<p class="text-muted">This book has no pages</p>
@endif
2015-07-12 21:01:42 +02:00
@stop