2021-08-22 14:15:58 +02:00
|
|
|
@extends('layouts.simple')
|
2015-09-06 15:35:53 +02:00
|
|
|
|
2017-08-26 14:24:55 +02:00
|
|
|
@section('body')
|
2016-12-03 19:35:40 +01:00
|
|
|
|
2018-05-28 11:33:38 +02:00
|
|
|
<div class="container">
|
2015-09-06 15:35:53 +02:00
|
|
|
|
2019-02-17 18:52:42 +01:00
|
|
|
<div class="my-s">
|
2021-08-22 14:15:58 +02:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-01-31 21:37:12 +01:00
|
|
|
$book,
|
2019-02-17 12:44:02 +01:00
|
|
|
$book->getUrl('/sort') => [
|
|
|
|
'text' => trans('entities.books_sort'),
|
|
|
|
'icon' => 'sort',
|
|
|
|
]
|
2019-01-31 21:37:12 +01:00
|
|
|
]])
|
|
|
|
</div>
|
2015-09-06 15:35:53 +02:00
|
|
|
|
2019-03-30 15:27:00 +01:00
|
|
|
<div class="grid left-focus gap-xl">
|
2019-01-31 21:37:12 +01:00
|
|
|
<div>
|
2019-06-06 14:09:58 +02:00
|
|
|
<div book-sort class="card content-wrap">
|
2019-04-06 17:56:50 +02:00
|
|
|
<h1 class="list-heading mb-l">{{ trans('entities.books_sort') }}</h1>
|
2019-06-06 14:09:58 +02:00
|
|
|
<div book-sort-boxes>
|
2021-08-22 14:15:58 +02:00
|
|
|
@include('books.parts.sort-box', ['book' => $book, 'bookChildren' => $bookChildren])
|
2017-08-26 14:24:55 +02:00
|
|
|
</div>
|
2019-01-31 21:37:12 +01:00
|
|
|
|
|
|
|
<form action="{{ $book->getUrl('/sort') }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
2019-06-06 14:09:58 +02:00
|
|
|
<input book-sort-input type="hidden" name="sort-tree">
|
2019-01-31 21:37:12 +01:00
|
|
|
<div class="list text-right">
|
|
|
|
<a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 13:40:04 +02:00
|
|
|
<button class="button" type="submit">{{ trans('entities.books_sort_save') }}</button>
|
2019-01-31 21:37:12 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-08-26 14:24:55 +02:00
|
|
|
</div>
|
2015-09-06 15:35:53 +02:00
|
|
|
</div>
|
2019-01-31 21:37:12 +01:00
|
|
|
|
|
|
|
<div>
|
2019-08-25 16:44:51 +02:00
|
|
|
<main class="card content-wrap">
|
2019-04-06 17:56:50 +02:00
|
|
|
<h2 class="list-heading mb-m">{{ trans('entities.books_sort_show_other') }}</h2>
|
|
|
|
|
2021-08-22 14:15:58 +02:00
|
|
|
@include('entities.selector', ['name' => 'books_list', 'selectorSize' => 'compact', 'entityTypes' => 'book', 'entityPermission' => 'update', 'showAdd' => true])
|
2019-04-06 17:56:50 +02:00
|
|
|
|
2019-08-25 16:44:51 +02:00
|
|
|
</main>
|
2017-08-26 14:24:55 +02:00
|
|
|
</div>
|
2015-09-06 15:35:53 +02:00
|
|
|
</div>
|
2019-01-31 21:37:12 +01:00
|
|
|
|
2015-09-06 15:35:53 +02:00
|
|
|
</div>
|
|
|
|
|
2018-03-17 16:20:15 +01:00
|
|
|
@stop
|