feat: Style comment field

This commit is contained in:
2024-05-30 14:39:28 +02:00
parent aebbe0f6c6
commit ae57d90cf3
4 changed files with 42 additions and 14 deletions

View File

@@ -1,7 +1,13 @@
{% load i18n %}
{% load crispy_forms_tags %}
<div class="container-comment-form">
<p>
<b>
{% blocktrans %}
Als {{ user }} kommentieren
{% endblocktrans %}
</b>
<form method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ comment_form.as_p }}
<button class="button-report" type="submit">{% translate "Kommentieren" %}</button>
</form>
{% crispy comment_form %}
</p>
</div>