mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00

- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('User.delete_form.title', [
|
|
'user' => $user->username,
|
|
]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('User.delete_form.title', [
|
|
'user' => $user->username,
|
|
]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form action="<?= route_to('user-delete', $user->id) ?>" method="POST" class="flex flex-col w-full max-w-xl mx-auto">
|
|
<?= csrf_field() ?>
|
|
|
|
<x-Alert variant="danger" class="font-semibold"><?= lang('User.delete_form.disclaimer', [
|
|
'user' => $user->username,
|
|
]) ?></x-Alert>
|
|
|
|
<x-Forms.Checkbox class="mt-2" name="understand" isRequired="true" isChecked="false"><?= lang('User.delete_form.understand', [
|
|
'user' => $user->username,
|
|
]) ?></x-Forms.Checkbox>
|
|
|
|
<div class="self-end mt-4">
|
|
<x-Button uri="<?= route_to('user-view', $user->id) ?>"><?= lang('Common.cancel') ?></x-Button>
|
|
<x-Button type="submit" variant="danger"><?= lang('User.delete_form.submit') ?></x-Button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|