2018-05-10 11:44:57 +02:00
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-06-17 17:34:25 +02:00
|
|
|
{{ 'Comment "{{ post }}"' | _(post=post.title) }}
|
2018-05-10 11:44:57 +02:00
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-06-17 17:34:25 +02:00
|
|
|
<h1>{{ 'Comment "{{ post }}"' | _(post=post.title) }}</h1>
|
2018-05-10 11:44:57 +02:00
|
|
|
<form method="post">
|
2018-06-17 17:26:15 +02:00
|
|
|
<label for="content">{{ "Content" | _ }}</label>
|
2018-06-21 15:05:35 +02:00
|
|
|
{# Ugly, but we don't have the choice if we don't want weird paddings #}
|
|
|
|
<textarea id="content" name="content">{% filter trim %}{% if previous %}{% if previous.author.fqn != user_fqn %}@{{ previous.author.fqn }} {% endif %}{% for mention in previous.mentions %}{% if mention != user_fqn %}@{{ mention }} {% endif %}{% endfor %}{% endif %}{% endfilter %}</textarea>
|
2018-06-17 20:14:58 +02:00
|
|
|
<input type="submit" value="{{ "Submit comment" | _ }}" />
|
2018-05-10 11:44:57 +02:00
|
|
|
</form>
|
|
|
|
{% endblock content %}
|
|
|
|
|