mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 22:03:48 +08:00
d886c6a32e
Also prevent pointer error on custom home page
28 lines
910 B
PHP
28 lines
910 B
PHP
@extends('simple-layout')
|
|
|
|
@section('toolbar')
|
|
<div class="col-sm-8 faded">
|
|
<div class="breadcrumbs">
|
|
<a href="{{ baseUrl('/books') }}" class="text-button">@icon('book'){{ trans('entities.books') }}</a>
|
|
<span class="sep">»</span>
|
|
<a href="{{ baseUrl('/create-book') }}" class="text-button">@icon('add'){{ trans('entities.books_create') }}</a>
|
|
</div>
|
|
</div>
|
|
@stop
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
<p> </p>
|
|
<div class="card">
|
|
<h3>@icon('add') {{ trans('entities.books_create') }}</h3>
|
|
<div class="body">
|
|
<form action="{{ baseUrl("/books") }}" method="POST" enctype="multipart/form-data">
|
|
@include('books/form')
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p class="margin-top large"><br></p>
|
|
@include('components.image-manager', ['imageType' => 'cover'])
|
|
@stop |