This commit is contained in:
cuom1999 2021-12-16 21:14:29 -06:00
parent e92fcc8f67
commit d97c77728f

View file

@ -112,14 +112,16 @@
<input type="submit" value="{{ _('View submissions') }}" style="width:135px"> <input type="submit" value="{{ _('View submissions') }}" style="width:135px">
</form> </form>
</div> </div>
{% if request.user.is_authenticated %}
<br> <br>
<div> <div>
<form action="{{ url('get_or_create_room') }}" method="POST"> <form action="{{ url('get_or_create_room') }}" method="POST">
{% csrf_token %} {% csrf_token %}
<input type="hidden" value="{{ chat_param(request.profile, user)}}" name="other"> <input type="hidden" value="{{ chat_param(request.profile, user) }}" name="other">
<input type="submit" value="{{ _('Send message') }}" style="width:135px"> <input type="submit" value="{{ _('Send message') }}" style="width:135px">
</form> </form>
</div> </div>
{% endif %}
{% if ratings %} {% if ratings %}
<br> <br>