blob: b74de69e7944a32baa1c3e9885f73e2cca0185cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<form 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">
<label for="noteContent"><?= __('writeNote.label') ?></label>
<textarea name="content" id="noteContent" required autocomplete="off"></textarea>
</div>
<div class="row">
<label for="noteSummary"><?= __('writeNote.summary.label') ?></label>
<input type="text" id="noteSummary" name="summary" autocomplete="off">
</div>
<div class="row">
<label for="noteScope"><?= __('writeNote.scope.label') ?></label>
<select name="scope" id="noteScope" required autocomplete="off">
<option value="none"><?= __('note.privacy.scope.none') ?></option>
<option value="mutuals"><?= __('note.privacy.scope.mutuals') ?></option>
<option value="followers"><?= __('note.privacy.scope.followers') ?></option>
<option value="public" selected><?= __('note.privacy.scope.public') ?></option>
</select>
</div>
<div class="row">
<button class="primary"><?= __('writeNote.action') ?></button>
</div>
</form>
|