{% extends "base.html" %} {% load i18n %} {% block content %} {% if posts %} {% for post in posts %} {% if post.image %}
{% endif %}
{{ post.title }} (#{{ post.id }}) [{{ post.pub_time }}]
{{ post.text }}
{% ifnotequal post.tags.all|length 0 %} {% trans 'Tags' %}: {% for tag in post.tags.all %} {{ tag.name }} {% endfor %} {% endifnotequal %}

{% endfor %} {% else %} No threads found.
{% endif %}
{% csrf_token %}
{% trans 'Title' %}
{{ form.title }}
{% trans 'Text' %}
{{ form.text }}
{% trans 'Image' %}
{{ form.image }}
{% endblock %}