{% extends "sphene/sphboard/base.html" %}
{% load i18n %}
{% load sphboard_extras %}

{% block content %}

  {% if thread %}
    {% sphboard_displayBreadcrumbsForThread thread 1 %}
  {% else %}
    {% sphboard_displayBreadcrumbsForCategory category 1 %}
  {% endif %}<br/><br/>

  {% if post %}
    <b>{% trans "Editing post" %}</b>
  {% else %}
    {% if thread %}
      <b>{% blocktrans with thread.subject as subject %}Posting reply to thread {{ subject }}.{% endblocktrans %}</b>
    {% else %}
      <b>{% trans "Posting new thread." %}</b>
    {% endif %}
  {% endif %}<br/><br/>

  {% include "sphene/sphboard/_displayPostForm.html" %}

  {% if not post %}
    {% if thread %}
      {% sphboard_displayThreadSummary thread %}
    {% endif %}
  {% endif %}

{% endblock %}
