Only display info alert if there arent errors or extended form info to show

This commit is contained in:
Andrew Croce 2018-10-02 08:31:37 -04:00
parent 8ac5a7e3b0
commit d4b0941622

View File

@ -9,7 +9,7 @@
{% include 'requests/review_menu.html' %} {% include 'requests/review_menu.html' %}
{% if request.is_pending_financial_verification %} {% if request.is_pending_financial_verification and not f.errors and not extended %}
{{ Alert('Pending Financial Verification', fragment="fragments/pending_financial_verification.html") }} {{ Alert('Pending Financial Verification', fragment="fragments/pending_financial_verification.html") }}
{% endif %} {% endif %}