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

- update CI4 to v4.1.9's stable production package - update php and js dependencies to latest
31 lines
889 B
PHP
31 lines
889 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('Contributor.edit_role', [esc($user->username)]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('Contributor.edit_role', [esc($user->username)]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form method="POST" action="<?= route_to('contributor-edit', $podcast->id, $user->id) ?>" class="flex flex-col max-w-sm gap-y-4">
|
|
<?= csrf_field() ?>
|
|
|
|
<Forms.Field
|
|
as="Select"
|
|
name="role"
|
|
label="<?= lang('Contributor.form.role') ?>"
|
|
selected="<?= $contributorGroupId ?>"
|
|
options="<?= esc(json_encode($roleOptions)) ?>"
|
|
placeholder="<?= lang('Contributor.form.role_placeholder') ?>"
|
|
required="true" />
|
|
|
|
<Button variant="primary" type="submit" class="self-end"><?= lang('Contributor.form.submit_edit') ?></Button>
|
|
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|