{% extends 'base.html' %} {% block content %}
Conversation

Thread with {% for user in thread.participants.all %}{% if user != request.user %}{{ user.username }}{% if not forloop.last %}, {% endif %}{% endif %}{% endfor %}

{% for message in thread.messages.all %}
{{ message.sender.username }} ยท {{ message.created_at|date:"M d, Y H:i" }}

{{ message.body }}

{% empty %}

No messages yet. Send the first message below.

{% endfor %}
Reply
{% csrf_token %}
{{ reply_form.body.label_tag }} {{ reply_form.body }}
{% endblock %}