Fix bug
This commit is contained in:
parent
e92fcc8f67
commit
d97c77728f
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue