From 98834f191e0d53893513a5e04f4cdf6cde6a3be3 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 1 Mar 2024 12:27:54 +0530 Subject: [PATCH] [UPDT] BASE: Updated oh-modal__close--custom onclick function in action_type_form.html --- .../base/action_type/action_type_form.html | 30 ++++++++----------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/base/templates/base/action_type/action_type_form.html b/base/templates/base/action_type/action_type_form.html index a62a54ac1..9fa89f748 100644 --- a/base/templates/base/action_type/action_type_form.html +++ b/base/templates/base/action_type/action_type_form.html @@ -10,16 +10,8 @@ @@ -30,19 +22,21 @@ {% else %} hx-post="{% url 'action-type-create' %}?dynamic={{dynamic}}&{{hx_vals}}" {% endif %} - {% if dynamic %} - hx-target="#createannouncementForm" - {% else %} - hx-target="#ticketForm" - {% endif %} - > + {% if dynamic %} + hx-target="#actionCreateForm" + {% else %} + hx-target="#ticketForm" + {% endif %} + > {% csrf_token %} {{form.non_field_errors}} {{form.as_p}} +
- +