ID: 46cc10cab65c9557217f6f9f46533fef5615fa06
30 lines
—
1K —
View raw
| {% include 'header.twig' %}
<div class="reply">
<h3>Reply to <em><a href="{{ ('user/' ~ comment.username|url_encode)|docroot }}">{{ comment.username }}</a></em></h3>
<div class="info">
posted <em><a href="{{ 'post/'|docroot ~ comment.postHashId }}#comment-{{ comment.hashId }}"><time title="{{ post.created|title }}" datetime="{{ post.created|datetime }}"> {{ comment.created|ago }} </time></a></em>
on <a href="{{ ('post/' ~ comment.postHashId)|docroot }}">{{ comment.postTitle }}</a>
</div>
<div style="margin: 2em 0;">
{{ comment.text|markdown|raw }}
</div>
{# "shortcut-submit" is a class used exclusively from javascript
# to submit the form when a key (Ctrl+Enter) is pressed.
#}
<form action="" method="post" class="shortcut-submit">
<input type="hidden" name="parent_comment" value="{{ comment.hashId }}" />
<div style="margin: 2em 0;">
<textarea name="text" required="required" rows=10 class="form-control"></textarea>
</div>
<div>
<input type="submit" class="button button_info" value="Reply" />
</div>
</form>
</div>
{% include 'footer.twig' %}
|