From e52b577d21e7e8ace5e17e043262e0dbd198115f Mon Sep 17 00:00:00 2001 From: Ilona Podliashanyk <ilona.podliashanyk@sikt.no> Date: Thu, 26 Sep 2024 14:41:26 +0200 Subject: [PATCH] Remove crispy logic completely from alert widget form --- python/nav/web/templates/navlets/alert_edit.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/nav/web/templates/navlets/alert_edit.html b/python/nav/web/templates/navlets/alert_edit.html index 62c1ce7cce..d48f09112d 100644 --- a/python/nav/web/templates/navlets/alert_edit.html +++ b/python/nav/web/templates/navlets/alert_edit.html @@ -1,5 +1,4 @@ {% extends 'navlets/base.html' %} -{% load crispy_forms_tags %} {% block navlet-content %} @@ -16,7 +15,7 @@ {% if form.attrs %} {% include 'custom_crispy_templates/_form_content.html' %} {% else %} - {% crispy form %} + {{ form }} {% endif %} <input type="submit" class="button tiny" value="Save"> <a class="button tiny secondary cancel-button">Cancel</a>