feat: Use crispy form tag

This commit is contained in:
2024-04-20 08:06:20 +02:00
parent 6d1cf9084b
commit 65a921248f
3 changed files with 19 additions and 8 deletions

View File

@@ -11,9 +11,5 @@
Fotos hochzuladen.
</p>
{% endblocktranslate %}
<form method="post" class="card" enctype="multipart/form-data">
{% csrf_token %}
{{ form | crispy}}
<button type="submit">{% translate "Weiter" %}</button>
</form>
{% crispy form %}
{% endblock %}