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

28 lines
1011 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-08-09 03:05:30 +08:00
@section('toolbar')
@include('settings/navbar', ['selected' => 'users'])
@stop
2015-08-09 03:05:30 +08:00
@section('body')
2016-12-04 22:08:04 +08:00
<div class="container small">
<p>&nbsp;</p>
<div class="card">
2018-02-17 21:30:52 +08:00
<h3>@icon('delete') {{ trans('settings.users_delete') }}</h3>
<div class="body">
<p>{{ trans('settings.users_delete_warning', ['userName' => $user->name]) }}</p>
<p class="text-neg">{{ trans('settings.users_delete_confirm') }}</p>
2015-08-09 03:05:30 +08:00
<form action="{{ baseUrl("/settings/users/{$user->id}") }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="DELETE">
<a href="{{ baseUrl("/settings/users/{$user->id}") }}" class="button outline">{{ trans('common.cancel') }}</a>
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
</form>
</div>
</div>
2015-08-09 03:05:30 +08:00
</div>
@stop