From 933a4f39af07955037f2a7feceff04f0035e58b3 Mon Sep 17 00:00:00 2001 From: Greg Newman Date: Thu, 15 Dec 2022 15:33:25 -0500 Subject: [PATCH] :art: topic form Needs accordions --- templates/forum_conversation/partials/topic_form.html | 8 ++++---- templates/forum_conversation/post_create.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/forum_conversation/partials/topic_form.html b/templates/forum_conversation/partials/topic_form.html index fd20dd33..7840a3e2 100644 --- a/templates/forum_conversation/partials/topic_form.html +++ b/templates/forum_conversation/partials/topic_form.html @@ -1,6 +1,6 @@ {% load i18n %} -
{% csrf_token %} +{% csrf_token %} {% for error in post_form.non_field_errors %}
{{ error }} @@ -60,8 +60,8 @@

{% if poll_options_validated and poll_option_formset.non_form_errors %}
{{ poll_option_formset.non_form_errors|striptags }}
{% endif %} -
-
+
+
{% include "partials/form_field.html" with field=post_form.poll_question %} {% include "partials/form_field.html" with field=post_form.poll_max_options %} {% include "partials/form_field.html" with field=post_form.poll_duration %} @@ -74,7 +74,7 @@
-
+
{% include "forum_conversation/forum_polls/poll_option_formset.html" %}
diff --git a/templates/forum_conversation/post_create.html b/templates/forum_conversation/post_create.html index 0fa9e12f..8afb9311 100644 --- a/templates/forum_conversation/post_create.html +++ b/templates/forum_conversation/post_create.html @@ -21,7 +21,7 @@

{% trans "Post a reply" %}

- {% csrf_token %} + {% csrf_token %} {% include "forum_conversation/partials/post_form.html" %}