{% extends "base.html" %} {% block title %}{{ 'Editar tema' if thread else 'Escribir' }}{% endblock %} {% block main %}

{{ 'Editar tema' if thread else 'Nuevo tema' }}

{# Only when writing, not when editing: the edit route does not read files, and an input that silently does nothing is worse than no input. Photos already attached survive an edit — they are separate rows. #} {% if not thread %} {% endif %}
Cancelar
{% endblock %}