2017-08-26 21:36:48 +08:00
|
|
|
@extends('simple-layout')
|
2015-07-29 03:57:13 +08:00
|
|
|
|
2017-08-26 21:36:48 +08:00
|
|
|
@section('toolbar')
|
|
|
|
<div class="col-sm-12 faded">
|
|
|
|
@include('chapters._breadcrumbs', ['chapter' => $chapter])
|
2016-12-04 02:35:40 +08:00
|
|
|
</div>
|
2017-08-26 21:36:48 +08:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
2016-12-04 02:35:40 +08:00
|
|
|
|
2018-05-28 17:33:38 +08:00
|
|
|
<div class="container small">
|
2017-08-26 21:36:48 +08:00
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
2018-02-17 21:30:52 +08:00
|
|
|
<h3>@icon('delete') {{ trans('entities.chapters_delete') }}</h3>
|
2015-07-29 03:57:13 +08:00
|
|
|
|
2017-08-26 21:36:48 +08:00
|
|
|
<div class="body">
|
|
|
|
<p>{{ trans('entities.chapters_delete_explain', ['chapterName' => $chapter->name]) }}</p>
|
|
|
|
<p class="text-neg">{{ trans('entities.chapters_delete_confirm') }}</p>
|
|
|
|
|
|
|
|
<form action="{{ $chapter->getUrl() }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
|
|
<a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
|
|
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-29 03:57:13 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|