= $this->extend('podcast/_layout_authenticated') ?>
= $this->section('meta-tags') ?>
= form_open(route_to('post-attempt-create', interact_as_actor()->username), [
'class' => 'flex p-4 bg-white shadow rounded-xl',
]) ?>
= csrf_field() ?>
= view('_message_block') ?>
= form_textarea(
[
'id' => 'message',
'name' => 'message',
'class' => 'form-textarea',
'required' => 'required',
'placeholder' => lang('Post.form.message_placeholder'),
],
old('message', '', false),
['rows' => 2],
) ?>
= form_input([
'id' => 'episode_url',
'name' => 'episode_url',
'class' => 'form-input mb-2',
'placeholder' =>
lang('Post.form.episode_url_placeholder') .
' (' .
lang('Common.optional') .
')',
'type' => 'url',
]) ?>
= button(
lang('Post.form.submit'),
'',
['variant' => 'primary', 'size' => 'small'],
['type' => 'submit', 'class' => 'self-end'],
) ?>
= form_close() ?>
reblog_of_id !== null): ?>
= view('podcast/_partials/reblog_authenticated', [
'post' => $post->reblog_of_post,
]) ?>
= view('podcast/_partials/post_authenticated', ['post' => $post]) ?>
= $this->endSection() ?>