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}} +