mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 03:33:37 +08:00
d886c6a32e
Also prevent pointer error on custom home page
30 lines
1012 B
PHP
30 lines
1012 B
PHP
@extends('simple-layout')
|
|
|
|
@section('toolbar')
|
|
<div class="col-sm-12 faded">
|
|
@include('books._breadcrumbs', ['book' => $book])
|
|
</div>
|
|
@stop
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
<p> </p>
|
|
<div class="card">
|
|
<h3>@icon('delete') {{ trans('entities.books_delete') }}</h3>
|
|
<div class="body">
|
|
<p>{{ trans('entities.books_delete_explain', ['bookName' => $book->name]) }}</p>
|
|
<p class="text-neg">{{ trans('entities.books_delete_confirmation') }}</p>
|
|
|
|
<form action="{{$book->getUrl()}}" method="POST">
|
|
{!! csrf_field() !!}
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
<a href="{{$book->getUrl()}}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@stop |