only show the error alert if TO isn't the only error
This commit is contained in:
parent
d4ae9763ed
commit
358e66f7f3
@ -47,7 +47,7 @@
|
|||||||
{% block form %}
|
{% block form %}
|
||||||
{% autoescape false %}
|
{% autoescape false %}
|
||||||
|
|
||||||
{% if f.errors %}
|
{% if f.errors and not f.is_only_missing_task_order_number %}
|
||||||
{{ Alert('There were some errors',
|
{{ Alert('There were some errors',
|
||||||
message="<p>Please see below.</p>",
|
message="<p>Please see below.</p>",
|
||||||
level='error'
|
level='error'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user