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