{% extends "comments/base.html" %} {% load i18n %} {% load comments_ink %} {% block title %}{% trans "Preview your comment" %}{% endblock %} {% block content %}

{% trans "Preview your comment" %}

{% trans "Comment sent to:" %}
{{ form.target_object }}
{% if form.reply_to.value == "0" %}
{{ 0|indent_divs }}
{% if form.cleaned_data.url %}{{ form.cleaned_data.name }}{% else %}{{ form.cleaned_data.name }}{% endif %}
{% trans "comment in preview" %}
{{ form.cleaned_data.comment|linebreaks|escape }}
{% else %} {% with parent=form.reply_to.value|get_comment %}
{% if parent.url %}{{ parent.name }}{% else %}{{ parent.name }}{% endif %} ⋅ {{ parent.submit_date }}  
{{ parent.comment|linebreaks|escape }}
{% endwith %}
{% if form.cleaned_data.url %}{{ form.cleaned_data.name }}{% else %}{{ form.cleaned_data.name }}{% endif %}
{% trans "comment in preview" %}
{{ form.cleaned_data.comment|linebreaks|escape }}
{% include "comments/form.html" %}
{% endif %}
{% if form.reply_to.value == "0" %}
{% trans "Post your comment" %}
{% include "comments/form.html" %}
{% endif %}
{% endblock %}