Style PoP Section

This commit is contained in:
leigh-mil
2019-09-03 13:07:43 -04:00
parent f08088c736
commit 68cd90a7a4
3 changed files with 31 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
{% from "components/alert.html" import Alert %}
{% from "components/icon.html" import Icon %}
{% macro DatePicker(
@@ -7,7 +8,8 @@
mindate=None,
maxdate=None,
watch=False,
optional=True) -%}
optional=True,
date_alert=False) -%}
<date-selector
{% if maxdate %}maxdate="{{ maxdate.strftime("%Y-%m-%d") }}"{% endif %}
@@ -26,6 +28,10 @@
{{ label }}
</div>
{% if date_alert %}
{{ Alert(message="A CLIN's period of performance must end before September 14, 2022.") }}
{% endif %}
{% if description %}
<p class='usa-input__help'>
{{ description | safe }}