Merge pull request #73 from dod-ccpo/add-incomplete-error-message

Show error message on review screen when not complete
This commit is contained in:
patricksmithdds 2018-07-16 11:48:46 -04:00 committed by GitHub
commit 4abcec9746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 %}