mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00

- create markdown-write-preview + markdown-preview webcomponents using lit - create form_markdown_editor helper form component - simplify form_dropdown and form_multiselect components - fix partner fields display fixes #93, #94, #120
36 lines
869 B
PHP
36 lines
869 B
PHP
<?= $this->extend('admin/_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('Contributor.edit_role', [$user->username]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('Contributor.edit_role', [$user->username]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= form_open(route_to('contributor-edit', $podcast->id, $user->id), [
|
|
'class' => 'flex flex-col max-w-sm',
|
|
]) ?>
|
|
<?= csrf_field() ?>
|
|
|
|
<?= form_label(lang('Contributor.form.role'), 'role') ?>
|
|
<?= form_dropdown('role', $roleOptions, [old('role', $contributorGroupId)], [
|
|
'id' => 'role',
|
|
'class' => 'form-select mb-4',
|
|
'required' => 'required',
|
|
]) ?>
|
|
|
|
<?= button(
|
|
lang('Contributor.form.submit_edit'),
|
|
'',
|
|
['variant' => 'primary'],
|
|
['type' => 'submit', 'class' => 'self-end'],
|
|
) ?>
|
|
|
|
<?= form_close() ?>
|
|
|
|
<?= $this->endSection() ?>
|