Stop showing duplicate error messages

This commit is contained in:
Tobias Kunze 2025-12-05 15:21:34 +01:00
parent 94f95a8664
commit acb6ac1538
3 changed files with 5 additions and 3 deletions

View file

@ -22,7 +22,7 @@
{% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div>
{% else %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_form expert_form=form %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_form expert_form=form hide_form_errors=True %}
{% endif %}
</div>
</div>

View file

@ -26,7 +26,7 @@
{% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div>
{% else %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_service_form expert_form=service_form %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_service_form expert_form=service_form hide_form_errors=True %}
{% endif %}
</div>
</div>

View file

@ -1,7 +1,9 @@
{% load i18n %}
{% load get_field %}
{% load static %}
{% include "frontend/forms/errors.html" %}
{% if not hide_form_errors %}
{% include "frontend/forms/errors.html" %}
{% endif %}
{% if form and expert_form and not hide_expert_mode %}
<div class="mb-3 text-end">
<a href="#"