2017-08-26 14:24:55 +02:00
|
|
|
@extends('simple-layout')
|
2015-07-28 21:57:13 +02:00
|
|
|
|
2017-08-26 14:24:55 +02:00
|
|
|
@section('body')
|
2016-12-03 19:35:40 +01:00
|
|
|
|
2018-05-28 11:33:38 +02:00
|
|
|
<div class="container small">
|
2017-08-26 14:24:55 +02:00
|
|
|
|
2019-02-17 18:52:42 +01:00
|
|
|
<div class="my-s">
|
2019-01-31 21:37:12 +01:00
|
|
|
@include('partials.breadcrumbs', ['crumbs' => [
|
|
|
|
$book,
|
2019-02-17 18:52:42 +01:00
|
|
|
$book->getUrl('/delete') => [
|
|
|
|
'text' => trans('entities.books_delete'),
|
|
|
|
'icon' => 'delete',
|
|
|
|
]
|
2019-01-31 21:37:12 +01: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 14:24:55 +02:00
|
|
|
</div>
|
2015-07-28 21:57:13 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|