mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
4cb4c9e568
Also fixed issue with duplicate confirmation email.
28 lines
1.0 KiB
PHP
28 lines
1.0 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('toolbar')
|
|
@include('settings/navbar', ['selected' => 'users'])
|
|
@stop
|
|
|
|
@section('body')
|
|
|
|
<div class="container small" ng-non-bindable>
|
|
<p> </p>
|
|
<div class="card">
|
|
<h3><i class="zmdi zmdi-delete"></i> {{ 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>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
@stop
|