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

43 lines
1.6 KiB
PHP
Raw Normal View History

@extends('layouts.simple')
2015-08-08 21:05:30 +02:00
@section('body')
<div class="container small">
2015-08-08 21:05:30 +02:00
@include('settings.parts.navbar', ['selected' => 'users'])
<form action="{{ url("/settings/users/{$user->id}") }}" method="POST">
2023-10-19 11:48:27 +02:00
{{ csrf_field() }}
{{ method_field('delete') }}
<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>
2023-10-19 11:48:27 +02:00
<hr class="my-l">
<div class="grid half gap-xl v-center">
<div>
<label class="setting-list-label">{{ trans('settings.users_migrate_ownership') }}</label>
<p class="small">{{ trans('settings.users_migrate_ownership_desc') }}</p>
</div>
2023-10-19 11:48:27 +02:00
<div>
@include('form.user-select', ['name' => 'new_owner_id', 'user' => null])
</div>
</div>
<hr class="my-l">
<div class="grid half">
<p class="text-neg"><strong>{{ trans('settings.users_delete_confirm') }}</strong></p>
<div class="text-right">
<a href="{{ url("/settings/users/{$user->id}") }}" class="button outline">{{ trans('common.cancel') }}</a>
<button type="submit" class="button">{{ trans('common.confirm') }}</button>
</div>
</div>
</div>
</form>
2015-08-08 21:05:30 +02:00
</div>
@stop