2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2016-09-29 10:56:57 -04:00
|
|
|
|
2019-04-13 06:30:19 -04:00
|
|
|
@section('body')
|
2016-09-29 10:56:57 -04:00
|
|
|
|
2018-05-28 05:33:38 -04:00
|
|
|
<div class="container small">
|
2016-09-29 10:56:57 -04:00
|
|
|
|
2019-04-13 06:30:19 -04:00
|
|
|
<div class="my-s">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-04-13 06:30:19 -04:00
|
|
|
($parent->isA('chapter') ? $parent->book : null),
|
|
|
|
$parent,
|
|
|
|
$parent->getUrl('/create-page') => [
|
|
|
|
'text' => trans('entities.pages_new'),
|
|
|
|
'icon' => 'add',
|
|
|
|
]
|
|
|
|
]])
|
|
|
|
</div>
|
|
|
|
|
2019-08-25 10:44:51 -04:00
|
|
|
<main class="card content-wrap">
|
2019-04-13 06:30:19 -04:00
|
|
|
<h1 class="list-heading">{{ trans('entities.pages_new') }}</h1>
|
|
|
|
<form action="{{ $parent->getUrl('/create-guest-page') }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<div class="form-group title-input">
|
|
|
|
<label for="name">{{ trans('entities.pages_name') }}</label>
|
2022-12-02 12:44:17 -05:00
|
|
|
@include('form.text', ['name' => 'name', 'autofocus' => true])
|
2019-04-13 06:30:19 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group text-right">
|
|
|
|
<a href="{{ $parent->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 07:40:04 -04:00
|
|
|
<button type="submit" class="button">{{ trans('common.continue') }}</button>
|
2019-04-13 06:30:19 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
2019-08-25 10:44:51 -04:00
|
|
|
</main>
|
2016-09-29 10:56:57 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|