2015-07-29 03:57:13 +08:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-12-31 05:38:20 +08:00
|
|
|
<div class="container small" ng-non-bindable>
|
2015-07-29 03:57:13 +08:00
|
|
|
<h1>Delete Chapter</h1>
|
|
|
|
<p>This will delete the chapter with the name '{{$chapter->name}}', All pages will be removed
|
|
|
|
and added directly to the book.</p>
|
|
|
|
<p class="text-neg">Are you sure you want to delete this chapter?</p>
|
|
|
|
|
2016-08-14 19:29:35 +08:00
|
|
|
<form action="{{ $chapter->getUrl() }}" method="POST">
|
2015-07-29 03:57:13 +08:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
2016-08-14 19:29:35 +08:00
|
|
|
<a href="{{ $chapter->getUrl() }}" class="button primary">Cancel</a>
|
2015-07-29 03:57:13 +08:00
|
|
|
<button type="submit" class="button neg">Confirm</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|