Skip to content

Commit

Permalink
Remove crispy logic completely from alert widget form
Browse files Browse the repository at this point in the history
  • Loading branch information
podliashanyk committed Sep 30, 2024
1 parent 1726490 commit e52b577
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/nav/web/templates/navlets/alert_edit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends 'navlets/base.html' %}
{% load crispy_forms_tags %}

{% block navlet-content %}

Expand All @@ -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>
Expand Down

0 comments on commit e52b577

Please sign in to comment.