- <div class="container small" ng-non-bindable>
- <h1>{{ trans('entities.books_edit') }}</h1>
- <form action="{{ $book->getUrl() }}" method="POST">
- <input type="hidden" name="_method" value="PUT">
- @include('books/form', ['model' => $book])
- </form>
- </div>
+ <main class="content-wrap card auto-height">
+ <h1 class="list-heading">{{ trans('entities.books_edit') }}</h1>
+ <form action="{{ $book->getUrl() }}" method="POST" enctype="multipart/form-data">
+ <input type="hidden" name="_method" value="PUT">
+ @include('books.parts.form', [
+ 'model' => $book,
+ 'returnLocation' => $book->getUrl()
+ ])
+ </form>
+ </main>