{% extends "base.html" %} {% block content %}

Edit comment

{%- set existing_photos = (comment.photo_paths or '').split('|') | reject('equalto', '') | list -%}
Attached media {% if comment.audio_path %}
Current audio:
{% endif %} {% if existing_photos %}
Current photos:
{% for p in existing_photos %} {% endfor %}
{% endif %}
Add audio:
Add photos:
Cancel

Related to

Add a related item

{% endblock %}