2015-07-28 15:57:13 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-12-30 16:38:20 -05:00
|
|
|
<div class="container small" ng-non-bindable>
|
2015-07-28 15:57:13 -04: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 07:29:35 -04:00
|
|
|
<form action="{{ $chapter->getUrl() }}" method="POST">
|
2015-07-28 15:57:13 -04:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
2016-08-14 07:29:35 -04:00
|
|
|
<a href="{{ $chapter->getUrl() }}" class="button primary">Cancel</a>
|
2015-07-28 15:57:13 -04:00
|
|
|
<button type="submit" class="button neg">Confirm</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|