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

30 lines
1.0 KiB
PHP
Raw Normal View History

2017-08-26 09:36:48 -04:00
@extends('simple-layout')
2017-08-26 09:36:48 -04:00
@section('toolbar')
<div class="col-sm-12 faded">
@include('chapters._breadcrumbs', ['chapter' => $chapter])
</div>
2017-08-26 09:36:48 -04:00
@stop
@section('body')
<div class="container small" ng-non-bindable>
2017-08-26 09:36:48 -04:00
<p>&nbsp;</p>
<div class="card">
2018-02-17 08:30:52 -05:00
<h3>@icon('delete') {{ trans('entities.chapters_delete') }}</h3>
2017-08-26 09:36:48 -04:00
<div class="body">
<p>{{ trans('entities.chapters_delete_explain', ['chapterName' => $chapter->name]) }}</p>
<p class="text-neg">{{ trans('entities.chapters_delete_confirm') }}</p>
<form action="{{ $chapter->getUrl() }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="DELETE">
<a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
</form>
</div>
</div>
</div>
@stop