From 160e56c61e898d97d46841611518cfc72637e39e Mon Sep 17 00:00:00 2001 From: rainydaysavings Date: Wed, 26 Aug 2020 06:38:49 +0100 Subject: [PATCH] [UI][TWIG] Better, divided form rendring of the posting form --- templates/network/public.html.twig | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/templates/network/public.html.twig b/templates/network/public.html.twig index 8e392285ce..105a48ac84 100644 --- a/templates/network/public.html.twig +++ b/templates/network/public.html.twig @@ -27,9 +27,24 @@ {% block body %}
{% if post_form is defined %} -
- {{ form(post_form) }} -
+ {{ form_start(post_form) }} +
+
+ {{ form_row(post_form.scope) }} +
+
+
+ {{ form_row(post_form.content) }} +
+
+ {{ form_row(post_form.attachments) }} +
+
+ {{ form_row(post_form.send) }} +
+
+
+ {{ form_end(post_form) }} {% endif %}