{% with message_id=message.id content=message.content images=message.images %}
{{ message.created }} {% if message.modified %} edited on: {{ message.modified }} {% endif %}

{{ content }}

{% if images %} {% for img in images %} {% endfor %} {% endif %}
{% csrf_token %} {% if images %} {% for img in images %}
{{ img.image.name }}
{% endfor %} {% endif %}
{% endwith %}