{% extends "feature_vote/base.html" %}{% load comments %} {% load i18n %} {% block content %}

{{ feature.title }}

{% include "feature_vote/vote.html" %}

{% blocktrans with feature.user_name as user_name and feature.created|timesince as timesince_created %}Suggested by {{ user_name }}; added {{ timesince_created }} ago{% endblocktrans %}

{{ feature.description|linebreaksbr }}

{% get_comment_list for feature as comments %} {% if comments %} {% else %}

{% trans "There aren't any comments yet" %}

{% endif %}
{% get_comment_form for feature as form %}

{% trans "Add a comment" %}

{# It doesn't have an AJAX handler, but this is handled by Django, not by us, so we can't give proper responses #}
{% csrf_token %} {{ form.content_type }} {{ form.object_pk }} {{ form.timestamp }} {{ form.security_hash }}
{{ form.name.label_tag }}:
{{ form.name.errors }}{{ form.name }}
{{ form.email.label_tag }}:
{{ form.email.errors }}{{ form.email }}
{{ form.comment.label_tag }}:
{{ form.comment.errors }}{{ form.comment }}

{% endblock %}