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