mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 13:21:37 +08:00
47b08888ba
- Enabled proper ordering of Books in a shelf. - Improved related item destroy for all entities.
31 lines
1017 B
PHP
31 lines
1017 B
PHP
@extends('simple-layout')
|
|
|
|
@section('toolbar')
|
|
<div class="col-sm-8 faded">
|
|
<div class="breadcrumbs">
|
|
<a href="{{ baseUrl('/shelves') }}" class="text-button">@icon('bookshelf'){{ trans('entities.shelves') }}</a>
|
|
<span class="sep">»</span>
|
|
<a href="{{ baseUrl('/create-shelf') }}" class="text-button">@icon('add'){{ trans('entities.shelves_create') }}</a>
|
|
</div>
|
|
</div>
|
|
@stop
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
<p> </p>
|
|
<div class="card">
|
|
<h3>@icon('add') {{ trans('entities.shelves_create') }}</h3>
|
|
<div class="body">
|
|
<form action="{{ baseUrl("/shelves") }}" method="POST" enctype="multipart/form-data">
|
|
@include('shelves/form', ['shelf' => null, 'books' => $books])
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="margin-top large"><br></p>
|
|
|
|
@include('components.image-manager', ['imageType' => 'cover'])
|
|
|
|
@stop |