2022-10-14 14:37:03 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('Episode.publish_date_edit') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<?= anchor(
|
|
|
|
route_to('episode-view', $podcast->id, $episode->id),
|
2024-04-26 17:57:25 +00:00
|
|
|
icon('arrow-left-line', [
|
|
|
|
'class' => 'mr-2 text-lg',
|
|
|
|
]) . lang('Episode.publish_form.back_to_episode_dashboard'),
|
2022-10-14 14:37:03 +00:00
|
|
|
[
|
|
|
|
'class' => 'inline-flex items-center font-semibold mr-4 text-sm',
|
|
|
|
],
|
|
|
|
) ?>
|
|
|
|
|
|
|
|
<form action="<?= route_to('episode-publish_date_edit', $podcast->id, $episode->id) ?>" method="POST" class="flex flex-col items-start w-full max-w-lg mx-auto mt-4" data-submit="validate-message">
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
<input type="hidden" name="client_timezone" value="UTC" />
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2022-10-14 14:37:03 +00:00
|
|
|
as="DatetimePicker"
|
|
|
|
name="new_publication_date"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Episode.publish_date_edit_form.new_publication_date')) ?>"
|
|
|
|
hint="<?= esc(lang('Episode.publish_date_edit_form.new_publication_date_hint')) ?>"
|
2022-10-14 14:37:03 +00:00
|
|
|
value="<?= $episode->published_at ?>"
|
2024-05-09 17:55:41 +00:00
|
|
|
isRequired="true"
|
2022-10-14 14:37:03 +00:00
|
|
|
/>
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button variant="primary" type="submit" class="mt-4"><?= lang('Episode.publish_date_edit_form.submit') ?></x-Button>
|
2022-10-14 14:37:03 +00:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|