-@extends('base')
+@extends('simple-layout')
-@section('content')
+@section('toolbar')
+ <div class="col-sm-12 faded">
+ @include('chapters._breadcrumbs', ['chapter' => $chapter])
+ </div>
+@stop
- <div class="page-content">
- <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>
+@section('body')
- <form action="{{$chapter->getUrl()}}" method="POST">
- {!! csrf_field() !!}
- <input type="hidden" name="_method" value="DELETE">
- <button type="submit" class="button neg">Confirm</button>
- <a href="{{$chapter->getUrl()}}" class="button">Cancel</a>
- </form>
- </div>
+ <div class="container small" ng-non-bindable>
+ <p> </p>
+ <div class="card">
+ <h3><i class="zmdi zmdi-delete"></i> {{ trans('entities.chapters_delete') }}</h3>
-@stop
+ <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>
+ </div>
-@section('bottom')
- @include('pages/image-manager')
@stop
\ No newline at end of file