2022-09-28 15:02:09 +00:00
|
|
|
<?= $this->extend('../cp_admin/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('Subscription.edit', [esc($podcast->title)]) ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<form method="POST" action="<?= route_to('subscription-edit', $podcast->id, $subscription->id) ?>" class="flex flex-col max-w-sm gap-y-4">
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
<input type="hidden" name="client_timezone" value="UTC" />
|
|
|
|
|
|
|
|
<div class="px-4 py-5 bg-base sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
|
|
|
|
<dt class="text-sm font-medium leading-5 text-skin-muted">
|
|
|
|
<?= lang('Subscription.list.email') ?>
|
|
|
|
</dt>
|
|
|
|
<dd class="mt-1 text-sm leading-5 sm:mt-0 sm:col-span-2">
|
|
|
|
<?= esc($subscription->email) ?>
|
|
|
|
</dd>
|
|
|
|
</div>
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2022-09-28 15:02:09 +00:00
|
|
|
as="DatetimePicker"
|
|
|
|
name="expiration_date"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Subscription.form.expiration_date')) ?>"
|
|
|
|
hint="<?= esc(lang('Subscription.form.expiration_date_hint')) ?>"
|
2022-09-28 15:02:09 +00:00
|
|
|
value="<?= $subscription->expires_at ?>"
|
|
|
|
/>
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button type="submit" class="self-end" variant="primary"><?= lang('Subscription.form.submit_edit') ?></x-Button>
|
2022-09-28 15:02:09 +00:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|