2017-08-26 20:24:55 +08:00
|
|
|
@extends('simple-layout')
|
2015-07-29 03:57:13 +08:00
|
|
|
|
2017-08-26 20:24:55 +08:00
|
|
|
@section('body')
|
2016-12-04 02:35:40 +08:00
|
|
|
|
2018-05-28 17:33:38 +08:00
|
|
|
<div class="container small">
|
2017-08-26 20:24:55 +08:00
|
|
|
|
2019-02-18 01:52:42 +08:00
|
|
|
<div class="my-s">
|
2019-02-01 04:37:12 +08:00
|
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
|
|
$book,
|
2019-02-18 01:52:42 +08:00
|
|
|
$book->getUrl('/delete') => [
|
|
|
|
'text' => trans('entities.books_delete'),
|
|
|
|
'icon' => 'delete',
|
|
|
|
]
|
2019-02-01 04:37:12 +08:00
|
|
|
]])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading">{{ trans('entities.books_delete') }}</h1>
|
|
|
|
<p>{{ trans('entities.books_delete_explain', ['bookName' => $book->name]) }}</p>
|
|
|
|
<p class="text-neg"><strong>{{ trans('entities.books_delete_confirmation') }}</strong></p>
|
|
|
|
|
|
|
|
<form action="{{$book->getUrl()}}" method="POST" class="text-right">
|
|
|
|
{!! 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 primary">{{ trans('common.confirm') }}</button>
|
|
|
|
</form>
|
2017-08-26 20:24:55 +08:00
|
|
|
</div>
|
2015-07-29 03:57:13 +08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|