2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-08-27 10:05:44 +00:00
|
|
|
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $this->section('pageTitle') ?>
|
2023-11-17 17:26:37 +00:00
|
|
|
<?= lang("Platforms.title.{$platformType}") ?>
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2021-09-21 15:51:04 +00:00
|
|
|
<?= $this->section('headerRight') ?>
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button form="platforms-form" variant="primary" type="submit" class="self-end"><?= lang('Platforms.submit') ?></x-Button>
|
2021-09-21 15:51:04 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2020-08-27 10:05:44 +00:00
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2024-04-24 14:47:05 +00:00
|
|
|
<form id="platforms-form" action="<?= route_to('platforms-save', $podcast->id, $platformType) ?>" method="POST" class="grid w-full gap-4 lg:gap-8 grid-cols-platforms">
|
2020-08-27 10:05:44 +00:00
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
2024-04-24 14:47:05 +00:00
|
|
|
|
2024-04-26 10:45:30 +00:00
|
|
|
<?php foreach ($platforms as $platform) {
|
|
|
|
echo view('podcast/_platform', [
|
|
|
|
'platform' => $platform,
|
|
|
|
]);
|
|
|
|
} ?>
|
2020-08-27 10:05:44 +00:00
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
</form>
|
2020-08-27 10:05:44 +00:00
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|