= form_open(
route_to('note-attempt-action', interact_as_actor()->username, $note->id),
[
'class' => 'bg-gray-50 flex px-6 pt-8 pb-4',
],
) ?>
= form_textarea(
[
'id' => 'message',
'name' => 'message',
'class' => 'form-textarea mb-4 w-full',
'required' => 'required',
'placeholder' => lang('Note.form.reply_to_placeholder', [
'actorUsername' => $note->actor->username,
]),
],
old('message', '', false),
[
'rows' => 1,
],
) ?>
= button(
lang('Note.form.submit_reply'),
null,
['variant' => 'primary', 'size' => 'small'],
[
'type' => 'submit',
'class' => 'self-end',
'name' => 'action',
'value' => 'reply',
],
) ?>
= form_close() ?>
replies as $reply): ?>
= view('podcast/_partials/reply_authenticated', ['reply' => $reply]) ?>