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

33 lines
1.3 KiB
PHP
Raw Normal View History

2015-08-08 21:05:30 +02:00
@extends('base')
@section('content')
2016-12-04 15:08:04 +01:00
<div class="faded-small toolbar">
<div class="container">
<div class="row">
<div class="col-sm-12 faded">
<div class="breadcrumbs">
<a href="{{ baseUrl("/settings/users") }}" class="text-button"><i class="zmdi zmdi-accounts"></i>Users</a>
<span class="sep">&raquo;</span>
<a href="{{ baseUrl("/settings/users/{$user->id}") }}" class="text-button"><i class="zmdi zmdi-account"></i>{{ $user->name }}</a>
</div>
</div>
</div>
</div>
</div>
<div class="container small" ng-non-bindable>
2016-12-04 15:08:04 +01:00
<h1>{{ trans('settings.users_delete') }}</h1>
<p>{{ trans('settings.users_delete_warning', ['userName' => $user->name]) }}</p>
<p class="text-neg">{{ trans('settings.users_delete_confirm') }}</p>
2015-08-08 21:05:30 +02:00
<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">
2016-12-04 15:08:04 +01:00
<a href="{{ baseUrl("/settings/users/{$user->id}") }}" class="button muted">{{ trans('common.cancel') }}</a>
<button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
2015-08-08 21:05:30 +02:00
</form>
</div>
@stop