This commit is contained in:
2024-07-03 12:32:09 +02:00
parent 096d35d5cf
commit a2f2520617
16 changed files with 270 additions and 11 deletions

View File

@@ -20,12 +20,15 @@
<p>{{ comment.text }}</p>
{% endfor %}
{% if previous >= 0 %}
<a href="{{ path('conference', { id: conference.id, offset: previous }) }}">Previous</a>
<a href="{{ path('conference', { slug: conference.slug, offset: previous }) }}">Previous</a>
{% endif %}
{% if next < comments|length %}
<a href="{{ path('conference', { id: conference.id, offset: next }) }}">Next</a>
<a href="{{ path('conference', { slug: conference.slug, offset: next }) }}">Next</a>
{% endif %}
{% else %}
<div>No comments have been posted yet for this conference.</div>
{% endif %}
<h2>Add your own feedback</h2>
{{ form(comment_form) }}
{% endblock %}