Add duplication check for contest edit in group

This commit is contained in:
cuom1999 2023-08-25 17:34:33 -05:00
parent 0da2098bbe
commit 97d0239963
6 changed files with 64 additions and 25 deletions

View file

@ -34,11 +34,10 @@
{% block middle_content %}
<form action="" method="post">
{% csrf_token %}
{% if form.errors %}
{% if form.errors or problems_form.errors %}
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close">x</a>
{{ form.non_field_errors() }}
{{ form.errors }}
{{_("Please fix below errors")}}
</div>
{% endif %}
{% for field in form %}

View file

@ -3,8 +3,7 @@
{% if form.errors %}
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close">x</a>
{{ form.non_field_errors() }}
{{ form.errors }}
{{ _("Please fix below errors") }}
</div>
{% endif %}
{% for field in form %}