2022-09-28 15:02:09 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('Subscription.delete') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<form action="<?= route_to('subscription-delete', $podcast->id, $subscription->id) ?>" method="POST" class="flex flex-col w-full max-w-xl mx-auto">
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Alert variant="danger" class="font-semibold"><?= lang('Subscription.delete_form.disclaimer', [
|
2022-09-28 15:02:09 +00:00
|
|
|
'subscriber' => $subscription->email,
|
2024-05-09 17:55:41 +00:00
|
|
|
]) ?></x-Alert>
|
2022-09-28 15:02:09 +00:00
|
|
|
|
2024-12-19 12:33:57 +00:00
|
|
|
<x-Forms.Checkbox class="mt-2" name="understand" isRequired="true"><?= lang('Subscription.delete_form.understand') ?></x-Forms.Checkbox>
|
2022-09-28 15:02:09 +00:00
|
|
|
|
|
|
|
<div class="flex items-center self-end mt-4 gap-x-2">
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button uri="<?= route_to('subscription-list', $podcast->id) ?>"><?= lang('Common.cancel') ?></x-Button>
|
|
|
|
<x-Button type="submit" variant="danger"><?= lang('Subscription.delete_form.submit') ?></x-Button>
|
2022-09-28 15:02:09 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|