Add duplication check for contest edit in group
This commit is contained in:
parent
0da2098bbe
commit
97d0239963
6 changed files with 64 additions and 25 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue