mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-30 04:33:41 +08:00
27 lines
920 B
PHP
27 lines
920 B
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
<div class="container small">
|
|
<div class="my-s">
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
'/books' => [
|
|
'text' => trans('entities.books'),
|
|
'icon' => 'book'
|
|
],
|
|
'/create-book' => [
|
|
'text' => trans('entities.books_create'),
|
|
'icon' => 'add'
|
|
]
|
|
]])
|
|
</div>
|
|
|
|
<div class="content-wrap card">
|
|
<h1 class="list-heading">{{ trans('entities.books_create') }}</h1>
|
|
<form action="{{ isset($bookshelf) ? $bookshelf->getUrl('/create-book') : baseUrl('/books') }}" method="POST" enctype="multipart/form-data">
|
|
@include('books.form')
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@include('components.image-manager', ['imageType' => 'cover'])
|
|
@stop |