Update alert messages with alert modules
This commit is contained in:
parent
ecc0716e3b
commit
e0db5c7f32
@ -8,7 +8,10 @@
|
|||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please see below.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,10 @@
|
|||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please see below.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
<p class="usa-font-lead">Please tell us more about you.</p>
|
<p class="usa-font-lead">Please tell us more about you.</p>
|
||||||
|
@ -8,7 +8,10 @@
|
|||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please see below.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
<p class="usa-font-lead">Please designate a Primary Point of Contact that will be responsible for owning the workspace in the JEDI Cloud.</p>
|
<p class="usa-font-lead">Please designate a Primary Point of Contact that will be responsible for owning the workspace in the JEDI Cloud.</p>
|
||||||
|
@ -12,7 +12,10 @@
|
|||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
<b>There were some errors, see below.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please complete all required fields before submitting.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
||||||
@ -171,7 +174,10 @@
|
|||||||
|
|
||||||
{% block next %}
|
{% block next %}
|
||||||
{% if not can_submit %}
|
{% if not can_submit %}
|
||||||
<b class="usa-input-error-message">Please complete all required fields before submitting.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please complete all required fields before submitting.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
<input type='submit' class='usa-button usa-button-primary' value='Submit' {{ "disabled" if not can_submit else "" }} />
|
<input type='submit' class='usa-button usa-button-primary' value='Submit' {{ "disabled" if not can_submit else "" }} />
|
||||||
{% end %}
|
{% end %}
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
{% module Alert('There were some errors',
|
||||||
|
message="<p>Please complete all the fields before submitting.</p>",
|
||||||
|
level='error'
|
||||||
|
) %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user