2019-04-13 06:30:19 -04:00
|
|
|
@extends('simple-layout')
|
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">
|
|
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
|
|
($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>
|
|
|
|
@include('form.text', ['name' => 'name'])
|
|
|
|
</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
|