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

19 lines
706 B
PHP
Raw Normal View History

2015-08-08 21:05:30 +02:00
@extends('base')
@section('content')
<div class="container small" ng-non-bindable>
2015-08-08 21:05:30 +02:00
<h1>Delete User</h1>
<p>This will fully delete this user with the name '<span class="text-neg">{{ $user->name }}</span>' from the system.</p>
2015-08-08 21:05:30 +02:00
<p class="text-neg">Are you sure you want to delete this user?</p>
<form action="{{ baseUrl("/settings/users/{$user->id}") }}" method="POST">
2015-08-08 21:05:30 +02:00
{!! csrf_field() !!}
<input type="hidden" name="_method" value="DELETE">
<a href="{{ baseUrl("/settings/users/{$user->id}") }}" class="button muted">Cancel</a>
2015-08-08 21:05:30 +02:00
<button type="submit" class="button neg">Confirm</button>
</form>
</div>
@stop