2021-08-22 20:15:58 +08:00
|
|
|
@extends('layouts.simple')
|
2015-07-13 03:01:42 +08:00
|
|
|
|
2017-08-26 20:24:55 +08:00
|
|
|
@section('body')
|
2016-12-04 02:35:40 +08:00
|
|
|
|
2018-05-28 17:33:38 +08:00
|
|
|
<div class="container small">
|
2019-01-13 23:54:55 +08:00
|
|
|
|
2019-02-18 01:52:42 +08:00
|
|
|
<div class="my-s">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-01-13 23:54:55 +08:00
|
|
|
$book,
|
2019-02-18 01:52:42 +08:00
|
|
|
$book->getUrl('/edit') => [
|
|
|
|
'text' => trans('entities.books_edit'),
|
|
|
|
'icon' => 'edit',
|
|
|
|
]
|
2019-01-13 23:54:55 +08:00
|
|
|
]])
|
|
|
|
</div>
|
|
|
|
|
2019-08-25 22:44:51 +08:00
|
|
|
<main class="content-wrap card">
|
2019-01-13 23:54:55 +08:00
|
|
|
<h1 class="list-heading">{{ trans('entities.books_edit') }}</h1>
|
2019-05-04 22:48:15 +08:00
|
|
|
<form action="{{ $book->getUrl() }}" method="POST" enctype="multipart/form-data">
|
2019-01-13 23:54:55 +08:00
|
|
|
<input type="hidden" name="_method" value="PUT">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('books.parts.form', ['model' => $book, 'returnLocation' => $book->getUrl()])
|
2019-01-13 23:54:55 +08:00
|
|
|
</form>
|
2019-08-25 22:44:51 +08:00
|
|
|
</main>
|
2015-07-16 05:55:49 +08:00
|
|
|
</div>
|
2015-07-13 03:01:42 +08:00
|
|
|
@stop
|