2021-08-22 20:15:58 +08:00
|
|
|
@extends('layouts.simple')
|
2018-04-15 01:00:16 +08:00
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<div class="container small">
|
|
|
|
|
2019-02-18 01:52:42 +08:00
|
|
|
<div class="my-s">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-02-02 19:41:41 +08:00
|
|
|
$page->book,
|
|
|
|
$page->chapter,
|
|
|
|
$page,
|
2019-02-18 01:52:42 +08:00
|
|
|
$page->getUrl('/copy') => [
|
|
|
|
'text' => trans('entities.pages_copy'),
|
|
|
|
'icon' => 'copy',
|
|
|
|
]
|
2019-02-02 19:41:41 +08:00
|
|
|
]])
|
|
|
|
</div>
|
2018-04-15 01:00:16 +08:00
|
|
|
|
2019-02-02 19:41:41 +08:00
|
|
|
<div class="card content-wrap auto-height">
|
2018-04-15 01:00:16 +08:00
|
|
|
|
2019-02-02 19:41:41 +08:00
|
|
|
<h1 class="list-heading">{{ trans('entities.pages_copy') }}</h1>
|
|
|
|
|
|
|
|
<form action="{{ $page->getUrl('/copy') }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<div class="form-group title-input">
|
|
|
|
<label for="name">{{ trans('common.name') }}</label>
|
2019-04-07 19:00:09 +08:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2019-02-02 19:41:41 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group" collapsible>
|
2023-01-29 00:06:11 +08:00
|
|
|
<button type="button" class="collapse-title text-link" collapsible-trigger aria-expanded="false">
|
2019-02-02 19:41:41 +08:00
|
|
|
<label for="entity_selection">{{ trans('entities.pages_copy_desination') }}</label>
|
2019-08-25 22:44:51 +08:00
|
|
|
</button>
|
2019-02-02 19:41:41 +08:00
|
|
|
<div class="collapse-content" collapsible-content>
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('entities.selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book,chapter', 'entityPermission' => 'page-create'])
|
2019-02-02 19:41:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-12-21 01:33:19 +08:00
|
|
|
@include('entities.copy-considerations')
|
|
|
|
|
2019-02-02 19:41:41 +08:00
|
|
|
<div class="form-group text-right">
|
|
|
|
<a href="{{ $page->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 19:40:04 +08:00
|
|
|
<button type="submit" class="button">{{ trans('entities.pages_copy') }}</button>
|
2019-02-02 19:41:41 +08:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2018-04-15 01:00:16 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|