From b10110d50f3fb5b21e67259c9becf1434a156fd6 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 27 Oct 2025 21:33:14 +0000 Subject: [PATCH] Refactor question_form.html for consistent formatting and improved readability --- sbas/templates/sbas/question_form.html | 38 ++++++++++++-------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sbas/templates/sbas/question_form.html b/sbas/templates/sbas/question_form.html index 5bbda7ea..380b16d3 100644 --- a/sbas/templates/sbas/question_form.html +++ b/sbas/templates/sbas/question_form.html @@ -1,33 +1,29 @@ -{% extends "sbas/base.html" %} +{% extends 'sbas/base.html' %} {% load static %} {% load partials %} {% block js %} - + - + - {{ form.media }} + {{ form.media }} {% endblock %} {% block content %} -
-
-

Submit Question

-
- {{question}} - {% if question %} - {% include "sbas/question_detail.html#links-partial" %} - {% endif %} +
+
+

Submit Question

+ {% if question %} + {% include 'sbas/question_detail.html#links-partial' %} + {% endif %} +
-
- {% csrf_token %} + + {% csrf_token %} - - {{ form.as_table }} -
- -
-{% endblock %} \ No newline at end of file + {{ form.as_table }}
+ + +{% endblock %}