BookStack/resources/views/books/delete.blade.php
2015-09-01 15:35:11 +01:00

22 lines
677 B
PHP

@extends('base')
@section('content')
<div class="page-content">
<h1>Delete Book</h1>
<p>This will delete the book with the name '{{$book->name}}', All pages and chapters will be removed.</p>
<p class="text-neg">Are you sure you want to delete this book?</p>
<form action="{{$book->getUrl()}}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="DELETE">
<a href="{{$book->getUrl()}}" class="button">Cancel</a>
<button type="submit" class="button neg">Confirm</button>
</form>
</div>
@stop
@section('bottom')
@include('pages/image-manager')
@stop