2017-08-26 20:24:55 +08:00
|
|
|
@extends('simple-layout')
|
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">
|
2019-01-13 23:54:55 +08:00
|
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
|
|
$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>
|
|
|
|
|
|
|
|
<div class="content-wrap card">
|
|
|
|
<h1 class="list-heading">{{ trans('entities.books_edit') }}</h1>
|
|
|
|
<form action="{{ $book->getUrl() }}" method="POST">
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
2019-04-07 19:00:09 +08:00
|
|
|
@include('books.form', ['model' => $book])
|
2019-01-13 23:54:55 +08:00
|
|
|
</form>
|
2017-08-26 20:24:55 +08:00
|
|
|
</div>
|
2015-07-16 05:55:49 +08:00
|
|
|
</div>
|
2019-01-13 23:54:55 +08:00
|
|
|
|
2019-04-27 21:18:00 +08:00
|
|
|
@include('components.image-manager', ['imageType' => 'cover', 'uploaded_to'])
|
2015-07-13 03:01:42 +08:00
|
|
|
@stop
|