diff options
Diffstat (limited to 'templates/write_note_form.php')
| -rw-r--r-- | templates/write_note_form.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php index 2d50896..914c48b 100644 --- a/templates/write_note_form.php +++ b/templates/write_note_form.php @@ -1,5 +1,14 @@ <form id="writeNoteForm" action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button" _="on submit wait 1s then trigger update on #liveTimelineUpdater"> + <div class="row miniProfile"> + <a href="/@/<?= $actor->handle ?>"> + <?php call_template('actor_avatar', ['actor' => $actor]); ?> + </a> + <div class="basicInfo"> + <a class="displayName" href="/@/<?= $actor->handle ?>"><?= $actor->displayName ?></a> + <div class="handle">@<?= $actor->handle ?></div> + </div> + </div> <div class="row"> <label for="noteContent"><?= __('writeNote.label') ?></label> <textarea name="content" id="noteContent" required autocomplete="off"></textarea> |
