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

28 lines
1011 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-08-08 15:05:30 -04:00
@section('toolbar')
@include('settings/navbar', ['selected' => 'users'])
@stop
2015-08-08 15:05:30 -04:00
@section('body')
2016-12-04 09:08:04 -05:00
<div class="container small">
<p>&nbsp;</p>
<div class="card">
2018-02-17 08:30:52 -05: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-08 15:05:30 -04: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-08 15:05:30 -04:00
</div>
@stop