BookStack/resources/views/books/edit.blade.php

25 lines
807 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-07-12 21:01:42 +02:00
@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>
2015-07-15 23:55:49 +02:00
</div>
2015-07-12 21:01:42 +02:00
@stop