2017-08-26 10:41:33 -04:00
|
|
|
@extends('simple-layout')
|
2015-07-28 15:57:13 -04:00
|
|
|
|
2017-08-26 10:41:33 -04:00
|
|
|
@section('body')
|
2016-12-03 13:35:40 -05:00
|
|
|
|
2018-05-28 05:33:38 -04:00
|
|
|
<div class="container small">
|
2019-02-02 06:41:41 -05:00
|
|
|
|
2019-02-17 12:52:42 -05:00
|
|
|
<div class="my-s">
|
2019-02-02 06:41:41 -05:00
|
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
|
|
$page->book,
|
|
|
|
$page->chapter,
|
|
|
|
$page,
|
2019-02-17 12:52:42 -05:00
|
|
|
$page->getUrl('/delete') => [
|
|
|
|
'text' => trans('entities.pages_delete'),
|
|
|
|
'icon' => 'delete',
|
|
|
|
]
|
2019-02-02 06:41:41 -05:00
|
|
|
]])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading">{{ $page->draft ? trans('entities.pages_delete_draft') : trans('entities.pages_delete') }}</h1>
|
|
|
|
|
|
|
|
|
2019-02-16 10:05:18 -05:00
|
|
|
<div class="grid half v-center">
|
|
|
|
<div>
|
|
|
|
<p class="text-neg">
|
|
|
|
<strong>
|
|
|
|
{{ $page->draft ? trans('entities.pages_delete_draft_confirm'): trans('entities.pages_delete_confirm') }}
|
|
|
|
</strong>
|
|
|
|
</p>
|
2019-02-02 06:41:41 -05:00
|
|
|
</div>
|
2019-02-16 10:05:18 -05:00
|
|
|
<div>
|
|
|
|
<form action="{{ $page->getUrl() }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
|
|
<div class="form-group text-right">
|
|
|
|
<a href="{{ $page->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
|
|
<button type="submit" class="button primary">{{ trans('common.confirm') }}</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-26 10:41:33 -04:00
|
|
|
</div>
|
2015-07-28 15:57:13 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|