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 new file mode 100644 index 0000000..49fcafc --- /dev/null +++ b/templates/write_note_form.php @@ -0,0 +1,9 @@ +<form action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button"> + <div class="row"> + <label for="noteContent"><?= __('writeNote.label') ?></label> + <textarea name="content" id="noteContent"></textarea> + </div> + <div class="row"> + <button><?= __('writeNote.action') ?></button> + </div> +</form>
\ No newline at end of file |
