mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
79f6dc00a3
- Now changes the images directly for user, system & cover. - Extra permission checks added to edit & delete actions.
25 lines
768 B
PHP
25 lines
768 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>
|
|
|
|
<div 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])
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@stop |