blob: a8dde16ee8238740d4e1d6fabadb82b08ccc0301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<form id="writePageForm" hx-post="" hx-disabled-elt="find button">
<div class="row">
<label for="newPageTitle"><?= __('note.page.new.title.label') ?></label>
<input type="text" id="newPageTitle" name="title" required>
</div>
<div class="row">
<label for="newPageBody"><?= __('note.page.new.body.label') ?></label>
<textarea id="newPageBody" name="body" required></textarea>
<?php call_template('formatting_hint'); ?>
</div>
<div class="row">
<label for="newPageScope"><?= __('writeNote.scope.label') ?></label>
<select name="scope" id="newPageScope" 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 type="submit" class="primary"><?= __('note.page.new.action') ?></button>
</div>
</form>
|