From 08c9138cdbf4cb0743ed8b69d48843d72ee6ce1f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 17 Nov 2025 22:52:34 +0000 Subject: [PATCH] Refactor condition form: streamline JavaScript loading and enhance button layout for improved usability --- atlas/templates/atlas/condition_form.html | 28 +++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/atlas/templates/atlas/condition_form.html b/atlas/templates/atlas/condition_form.html index 25a20517..70410b28 100755 --- a/atlas/templates/atlas/condition_form.html +++ b/atlas/templates/atlas/condition_form.html @@ -1,27 +1,25 @@ {% extends "atlas/base.html" %} - +{% load crispy_forms_tags %} + +{% block css %}{% endblock %} -{% block css %} -{% endblock %} {% block js %} - - {{form.media}} - - - - + {{ form.media }} {% endblock %} + {% block content %} -

Add/Edit Condition

+

Add / Edit Condition

Use this form to create or edit a condition.

Please check if it already exists before doing so!

+
{% csrf_token %} + {% crispy form %} - - {{ form.as_table }} -
- +
+ + Cancel +
+ {% endblock %}