2017-08-27 00:17:04 +08:00
|
|
|
@extends('simple-layout')
|
2015-08-09 03:05:30 +08:00
|
|
|
|
2017-08-27 00:17:04 +08:00
|
|
|
@section('toolbar')
|
|
|
|
@include('settings/navbar', ['selected' => 'users'])
|
|
|
|
@stop
|
2015-08-09 03:05:30 +08:00
|
|
|
|
2017-08-27 00:17:04 +08:00
|
|
|
@section('body')
|
2016-12-04 22:08:04 +08:00
|
|
|
|
2015-12-31 05:38:20 +08:00
|
|
|
<div class="container small" ng-non-bindable>
|
2017-08-27 00:17:04 +08:00
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
2018-02-17 21:30:52 +08:00
|
|
|
<h3>@icon('delete') {{ trans('settings.users_delete') }}</h3>
|
2017-08-27 00:17:04 +08:00
|
|
|
<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
|
|
|
|
2017-08-27 00:17:04 +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
|