4b9618cd21
- Added to prevent future possibility of 'shelf' var being introduced in scope and therefore causing a side-effect of redirect logic.
25 lines
No EOL
807 B
PHP
25 lines
No EOL
807 B
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
<div class="my-s">
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
$book,
|
|
$book->getUrl('/edit') => [
|
|
'text' => trans('entities.books_edit'),
|
|
'icon' => 'edit',
|
|
]
|
|
]])
|
|
</div>
|
|
|
|
<main class="content-wrap card">
|
|
<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.form', ['model' => $book, 'returnLocation' => $book->getUrl()])
|
|
</form>
|
|
</main>
|
|
</div>
|
|
@stop |