{% extends "layouts" ~ DIR ~ "default.twig" %} {% block title %}{{ "Edit Comment" | translate("comments") }}{% endblock %} {% block content %}

{{ "Editing Comment on “%s”" | translate("comments") | format(comment.post.title() | striptags | oneof("[Untitled]" | translate)) }}

{% set comment_markdown = site.enable_markdown ? " data-markdown" : "" %}

{% if site.enable_markdown %} {{- icon_img("markdown.svg", "Markdown" | translate) -}} {% endif %}

{% if comment.status != "pingback" %}

{% endif %} {% if visitor.group.can("edit_comment") %} {# User can edit all comments, not just their own. #}

{% if comment.status != "pingback" %}

{% endif %} {% endif %} {% if comment.status != "pingback" and site.email_correspondence %}

{% endif %} {{ trigger.call("edit_comment_options", comment) }}
{{ comment.delete_link("Delete" | translate("comments"), null, null, "button boo") }}
{% endblock %}