leilukin-tumbleblog/modules/comments/admin/pages/delete_comment.twig

25 lines
860 B
Twig
Raw Normal View History

2024-06-20 14:10:42 +00:00
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block title %}{{ "Delete Comment?" | translate("comments") }}{% endblock %}
{% block content %}
<h2>{{ "Delete Comment?" | translate("comments") }}</h2>
<form class="delete" action="{{ url('destroy_comment') }}" method="post" accept-charset="UTF-8">
<fieldset role="presentation">
<p>
{{ "&#8220;%s&#8221; will be permanently deleted." | translate("comments") | format(comment.author_link()) }}
</p>
<div class="confirmation">
<button name="destroy" value="indubitably" class="boo">
{{ "Delete!" | translate }}
</button>
<button name="destroy" value="undecidedly" type="submit" class="yay">
{{ "Cancel" | translate }}
</button>
</div>
<input type="hidden" name="id" value="{{ comment.id }}" id="id">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
</fieldset>
</form>
{% endblock %}