2017-08-26 16:41:33 +02:00
|
|
|
@extends('simple-layout')
|
2015-07-28 21:57:13 +02:00
|
|
|
|
2017-08-26 16:41:33 +02:00
|
|
|
@section('toolbar')
|
|
|
|
<div class="col-sm-12 faded">
|
|
|
|
@include('pages._breadcrumbs', ['page' => $page])
|
2016-12-03 19:35:40 +01:00
|
|
|
</div>
|
2017-08-26 16:41:33 +02:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
2016-12-03 19:35:40 +01:00
|
|
|
|
2018-05-28 11:33:38 +02:00
|
|
|
<div class="container small">
|
2017-08-26 16:41:33 +02:00
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
2018-02-17 14:30:52 +01:00
|
|
|
<h3>@icon('delete') {{ $page->draft ? trans('entities.pages_delete_draft') : trans('entities.pages_delete') }}</h3>
|
2017-08-26 16:41:33 +02:00
|
|
|
<div class="body">
|
|
|
|
<p class="text-neg">{{ $page->draft ? trans('entities.pages_delete_draft_confirm'): trans('entities.pages_delete_confirm') }}</p>
|
2015-07-28 21:57:13 +02:00
|
|
|
|
2017-08-26 16:41:33 +02:00
|
|
|
<form action="{{ $page->getUrl() }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
|
|
<div class="form-group">
|
|
|
|
<a href="{{ $page->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
|
|
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-28 21:57:13 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|