From 7d685c5e64149e20c7dc8977f645e050be53ddfd Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Tue, 10 Dec 2024 17:15:10 +0100 Subject: Add classic theme --- src/application/templates/old/new_topic.twig | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/application/templates/old/new_topic.twig (limited to 'src/application/templates/old/new_topic.twig') diff --git a/src/application/templates/old/new_topic.twig b/src/application/templates/old/new_topic.twig new file mode 100644 index 0000000..5063db1 --- /dev/null +++ b/src/application/templates/old/new_topic.twig @@ -0,0 +1,32 @@ +{% set title = __("New topic") %} +{% set formId = "newtopic" %} +{% set formError = getAndClearFormError(formId) %} + +{% extends "base.twig" %} + +{% block content %} +
+ +

{{ __("New topic") }}

+ +{% if formError %} + {% include "components/alert_error.twig" with { message: formError } %} +{% endif %} +
+ +
+
+
+
+ {% include "components/post_editor.twig" with { name: "message", id: "i_message", value: lastFormField(formId, "message") } %} +
+
+
+
+ +
+ +{% endblock %} -- cgit v1.2.3