hrender-examples/htmx/templates/fragments/todo-row-edit.html

7 lines
167 B
HTML

<li>
<form hx-post="/todo" hx-target="closest li" hx-swap="outerHTML">
<input type="text" name="name" placeholder="Nueva tarea..." autofocus />
</form>
</li>