2018-08-27 21:18:09 +08:00
|
|
|
@extends('simple-layout')
|
|
|
|
|
|
|
|
@section('toolbar')
|
|
|
|
<div class="col-sm-12 faded">
|
2018-09-17 02:34:09 +08:00
|
|
|
@include('shelves._breadcrumbs', ['shelf' => $shelf])
|
2018-08-27 21:18:09 +08:00
|
|
|
</div>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<div class="container small">
|
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
2018-09-17 02:34:09 +08:00
|
|
|
<h3>@icon('delete') {{ trans('entities.shelves_delete') }}</h3>
|
2018-08-27 21:18:09 +08:00
|
|
|
<div class="body">
|
2018-09-17 02:34:09 +08:00
|
|
|
<p>{{ trans('entities.shelves_delete_explain', ['name' => $shelf->name]) }}</p>
|
|
|
|
<p class="text-neg">{{ trans('entities.shelves_delete_confirmation') }}</p>
|
2018-08-27 21:18:09 +08:00
|
|
|
|
2018-09-17 02:34:09 +08:00
|
|
|
<form action="{{ $shelf->getUrl() }}" method="POST">
|
2018-08-27 21:18:09 +08:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
2018-09-17 02:34:09 +08:00
|
|
|
|
|
|
|
<a href="{{ $shelf->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
|
|
<button type="submit" class="button">{{ trans('common.confirm') }}</button>
|
2018-08-27 21:18:09 +08:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|