only show the error alert if TO isn't the only error

This commit is contained in:
Andrew Croce 2018-10-02 08:32:32 -04:00
parent d4ae9763ed
commit 358e66f7f3

View File

@ -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'