]> BookStack Code Mirror - bookstack/blob - resources/views/books/edit.blade.php
Vastly improved design and cleaned text input
[bookstack] / resources / views / books / edit.blade.php
1 @extends('base')
2
3 @section('content')
4
5     <div class="page-content">
6         <h1>Edit Book</h1>
7         <form action="/books/{{$book->slug}}" method="POST">
8             <input type="hidden" name="_method" value="PUT">
9             @include('books/form', ['model' => $book])
10         </form>
11         <hr class="margin-top large">
12         <div class="margin-top large shaded padded">
13             <h2 class="margin-top">Delete this book</h2>
14             <p>This will delete this book and all it's pages.</p>
15             @include('form/delete-button', ['url' => '/books/' . $book->id . '/destroy', 'text' => 'Delete'])
16         </div>
17     </div>
18
19 @stop