Allow non-managers to submit review feedback

This commit is contained in:
James Polley 2018-06-27 17:10:17 +10:00
parent fa5885a766
commit 227df66dba
2 changed files with 1 additions and 3 deletions

View file

@ -161,7 +161,6 @@
<hr />
{% endif %}
{% if is_manager %}
<form class="form-horizontal" action="" method="POST"accept-charset="utf-8">
<legend>{% trans "Send a message" %}</legend>
<p>
@ -176,7 +175,6 @@
<input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
</div>
</form>
{% endif %}
</div>
</div>
</div>

View file

@ -369,7 +369,7 @@ def review_detail(request, pk):
return next_page
else:
message_form = SpeakerCommentForm()
elif "message_submit" in request.POST and admin:
elif "message_submit" in request.POST:
message_form = SpeakerCommentForm(request.POST)
if message_form.is_valid():