From fe0f414dc0211a4014581dc03fcfd514ed7ed02d Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 17 Oct 2024 10:56:01 +0200 Subject: Transition templating to Twig --- .../templates/bootstrap-3/delete_post.twig | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/application/templates/bootstrap-3/delete_post.twig (limited to 'src/application/templates/bootstrap-3/delete_post.twig') diff --git a/src/application/templates/bootstrap-3/delete_post.twig b/src/application/templates/bootstrap-3/delete_post.twig new file mode 100644 index 0000000..90eaf09 --- /dev/null +++ b/src/application/templates/bootstrap-3/delete_post.twig @@ -0,0 +1,36 @@ +{% set title = __("Delete post") %} + +{% extends "base.twig" %} + +{% block content %} + +
+
+

{{ __("Do you want to delete this post?") }}

+
+
+ {{ __("Are you sure you want to delete the following post:") }}
+ {% include "components/post.twig" with { + post: ctx.post, + postAuthor: ctx.postAuthor, + attachments: ctx.attachments, + hide_actions: true, + } %} +
+ +
+ +{% endblock %} -- cgit v1.2.3