added code for proper form in template

This commit is contained in:
Benni Bärmann 2021-01-04 11:50:17 +01:00
parent a7f1bc6e7f
commit fa62ac8621
1 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
{{form.as_p}}
<form action="" method="post">
{% csrf_token %}
<table>
{{form}}
</table>
<button type="submit" value="submit">Abschicken</button>
</form>