BookStack/resources/views/books/delete.blade.php

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">
<button type="submit" class="button neg">Confirm</button>
<a href="{{$book->getUrl()}}" class="button">Cancel</a>
</form>
</div>
@stop
@section('bottom')
@include('pages/image-manager')
@stop