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