Allow any logged in user to leave a comment

This commit is contained in:
Michael Hall 2018-03-24 00:05:44 -04:00
parent 0921448ce0
commit 80b6374f4b

View file

@ -104,7 +104,7 @@
{% endif %} {% endif %}
</div> </div>
{% endrecursetree %} {% endrecursetree %}
{% if can_edit_event %} {% if request.user.is_authenticated %}
<div class="list-group-item pl-5"> <div class="list-group-item pl-5">
<form action="{% url 'comment-event' event.id %}" method="POST"> <form action="{% url 'comment-event' event.id %}" method="POST">
{% csrf_token %} {% csrf_token %}