Show error message on review screen when not complete

This commit is contained in:
Patrick Smith 2018-07-16 10:09:26 -04:00
parent 2173f7f49c
commit f6533b50b3

View File

@ -116,5 +116,8 @@
{% end %}
{% block next %}
{% if not can_submit %}
<b class="usa-input-error-message">Please complete all required fields before submitting.</b>
{% end %}
<input type='submit' class='usa-button usa-button-primary' value='Submit' {{ "disabled" if not can_submit else "" }} />
{% end %}