diff options
| author | winter | 2025-01-01 19:52:18 +0000 |
|---|---|---|
| committer | winter | 2025-01-01 19:52:18 +0000 |
| commit | fea439b57f9ba225e2d3169d7615c0bd2aecabe4 (patch) | |
| tree | 477357cb50c029fde839aea272ba30b20a66129f /templates/write_note_form.php | |
| parent | 02a6acd4cfddaecd9075b706fdbdc0396d76d8c3 (diff) | |
ultra basic post form
doesn't do much but i just wanted to get this working at a bare minimum
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 |
