{% extends 'base.html' %} {% block title %}/{{ board.slug }}/ - Thread #{{ thread.id }}{% endblock %} {% block content %}
Retour à /{{ board.slug }}/
{{ thread.nickname[0] | upper }}
{{ thread.nickname }}
{{ thread.created_at.strftime('%d %b %Y à %H:%M') }} N° {{ thread.id }}
{{ thread.content|format_post(post_context) }}
{% if thread.files %}
{% for file in thread.files %}
{% if file.filename.endswith(('.mp4', '.webm')) %} {% else %} Post image {% endif %} Full Size
{% endfor %}
{% endif %}
{% for reply in replies %}
{{ reply.nickname[0] | upper }}
{{ reply.nickname }} #{{ reply.id }}
{% if reply.files %}
{% for file in reply.files %}
{% if file.filename.endswith(('.mp4', '.webm')) %} {% else %} Post image {% endif %}
{% endfor %}
{% endif %}
{{ reply.content|format_post(post_context) }}
{{ reply.created_at.strftime('%H:%M') }}
{% endfor %}
{{ form.hidden_tag() }}
{{ form.content(class="w-full bg-transparent border-none focus:ring-0 p-0 text-slate-800 placeholder-slate-400 resize-none max-h-32 min-h-[1.5rem] leading-relaxed", placeholder="Ajouter un commentaire...", rows="1", oninput="this.style.height = ''; this.style.height = this.scrollHeight + 'px'") }}
{% endblock %}