Allow non-managers to submit review feedback
This commit is contained in:
parent
fa5885a766
commit
227df66dba
2 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
2
vendor/symposion/reviews/views.py
vendored
2
vendor/symposion/reviews/views.py
vendored
|
@ -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():
|
||||
|
||||
|
|
Loading…
Reference in a new issue