Add the task form.

This commit is contained in:
2023-07-15 18:00:18 +03:00
parent 393aa374c1
commit a0aaef3458
2 changed files with 22 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
{% load tailwind_filters %}
<div hx-target="this" hx-swap="outerHTML">
<form method="POST">
{% csrf_token %}
{{ task_form|crispy }}
<button type="submit" hx-post=".">Submit</button>
</form>
</div>