Little js to hide notif

This commit is contained in:
Michel Roux 2019-12-15 17:54:44 +01:00
parent e5f26622c1
commit 46fb483e09

View File

@ -63,7 +63,7 @@
{% if action_form %} {% if action_form %}
{% if action_form.errors %} {% if action_form.errors %}
<div class="notification is-danger"> <div class="notification is-danger">
<button class="delete"></button> <button class="delete" onclick="this.parentNode.style.display = 'none'"></button>
<ul> <ul>
{% for field in action_form.errors %} {% for field in action_form.errors %}
{% for error in action_form.errors[field] %} {% for error in action_form.errors[field] %}