= service('vite')->asset('styles/index.css', 'css') ?>
= service('vite')->asset('js/podcast.ts', 'js') ?>
= lang(
'ActivityPub.' . $action . '.subtitle',
) ?>
= $this->include('podcast/_partials/post') ?>
= form_open(
route_to('post-attempt-remote-action', $post->id, $action),
['method' => 'post', 'class' => 'flex flex-col mt-8'],
) ?>
= csrf_field() ?>
= view('_message_block') ?>
= form_label(
lang('ActivityPub.your_handle'),
'handle',
[],
lang('ActivityPub.your_handle_hint'),
) ?>
= form_input([
'id' => 'handle',
'name' => 'handle',
'class' => 'form-input mb-4',
'required' => 'required',
'type' => 'text',
]) ?>
= button(
lang('ActivityPub.' . $action . '.submit'),
'',
['variant' => 'primary'],
['type' => 'submit', 'class' => 'self-end'],
) ?>
= form_close() ?>