2017-08-26 12:17:04 -04:00
|
|
|
@extends('simple-layout')
|
2015-08-08 15:05:30 -04:00
|
|
|
|
2017-08-26 12:17:04 -04:00
|
|
|
@section('body')
|
2018-05-28 05:33:38 -04:00
|
|
|
<div class="container small">
|
2015-08-08 15:05:30 -04:00
|
|
|
|
2019-02-03 08:45:45 -05:00
|
|
|
<div class="py-m">
|
|
|
|
@include('settings.navbar', ['selected' => 'users'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading">{{ trans('settings.users_delete') }}</h1>
|
|
|
|
|
|
|
|
<p>{{ trans('settings.users_delete_warning', ['userName' => $user->name]) }}</p>
|
|
|
|
|
|
|
|
<div class="grid half">
|
|
|
|
<p class="text-neg"><strong>{{ trans('settings.users_delete_confirm') }}</strong></p>
|
|
|
|
<div>
|
2019-08-04 09:26:39 -04:00
|
|
|
<form action="{{ url("/settings/users/{$user->id}") }}" method="POST" class="text-right">
|
2019-02-03 08:45:45 -05:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
2019-08-04 09:26:39 -04:00
|
|
|
<a href="{{ url("/settings/users/{$user->id}") }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-02-03 08:45:45 -05:00
|
|
|
<button type="submit" class="button primary">{{ trans('common.confirm') }}</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2017-08-26 12:17:04 -04:00
|
|
|
</div>
|
2019-02-03 08:45:45 -05:00
|
|
|
|
2017-08-26 12:17:04 -04:00
|
|
|
</div>
|
2015-08-08 15:05:30 -04:00
|
|
|
</div>
|
|
|
|
@stop
|