feat: Add basic comment form
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{% load i18n %}
|
||||
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ comment_form.as_p }}
|
||||
<button class="button-report" type="submit">{% translate "Kommentieren" %}</button>
|
||||
</form>
|
@@ -12,4 +12,10 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
{% include "fellchensammlung/forms/form-comment.html" %}
|
||||
{% else %}
|
||||
{% translate 'Du musst dich einloggen um Kommentare zu hinterlassen' %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user