2015-07-12 21:01:42 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-07-23 22:55:46 +02:00
|
|
|
<div class="page-content">
|
|
|
|
<h1>Edit Book</h1>
|
|
|
|
<form action="/books/{{$book->slug}}" method="POST">
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
|
|
|
@include('books/form', ['model' => $book])
|
|
|
|
</form>
|
|
|
|
<hr class="margin-top large">
|
|
|
|
<div class="margin-top large shaded padded">
|
|
|
|
<h2 class="margin-top">Delete this book</h2>
|
|
|
|
<p>This will delete this book and all it's pages.</p>
|
|
|
|
@include('form/delete-button', ['url' => '/books/' . $book->id . '/destroy', 'text' => 'Delete'])
|
2015-07-15 23:55:49 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-07-12 21:01:42 +02:00
|
|
|
@stop
|