2021-08-22 14:15:58 +02:00
|
|
|
@extends('layouts.simple')
|
2015-07-28 21:57:13 +02:00
|
|
|
|
2017-08-26 15:36:48 +02:00
|
|
|
@section('body')
|
2016-12-03 19:35:40 +01:00
|
|
|
|
2018-05-28 11:33:38 +02:00
|
|
|
<div class="container small">
|
2015-07-28 21:57:13 +02:00
|
|
|
|
2019-02-17 18:52:42 +01:00
|
|
|
<div class="my-s">
|
2021-08-22 14:15:58 +02:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-02-02 12:41:41 +01:00
|
|
|
$chapter->book,
|
|
|
|
$chapter,
|
2019-02-17 18:52:42 +01:00
|
|
|
$chapter->getUrl('/delete') => [
|
|
|
|
'text' => trans('entities.chapters_delete'),
|
|
|
|
'icon' => 'delete',
|
|
|
|
]
|
2019-02-02 12:41:41 +01:00
|
|
|
]])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading">{{ trans('entities.chapters_delete') }}</h1>
|
|
|
|
<p>{{ trans('entities.chapters_delete_explain', ['chapterName' => $chapter->name]) }}</p>
|
|
|
|
<p class="text-neg"><strong>{{ trans('entities.chapters_delete_confirm') }}</strong></p>
|
|
|
|
|
|
|
|
<form action="{{ $chapter->getUrl() }}" method="POST">
|
|
|
|
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
2017-08-26 15:36:48 +02:00
|
|
|
|
2019-02-02 12:41:41 +01:00
|
|
|
<div class="text-right">
|
2017-08-26 15:36:48 +02:00
|
|
|
<a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 13:40:04 +02:00
|
|
|
<button type="submit" class="button">{{ trans('common.confirm') }}</button>
|
2019-02-02 12:41:41 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-08-26 15:36:48 +02:00
|
|
|
</div>
|
2015-07-28 21:57:13 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|