Save start and end dates

This commit is contained in:
Montana 2019-02-01 10:35:19 -05:00
parent d980260e7f
commit 70b4a51d8a
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class KOReviewForm(CacheableForm):
message=translate("forms.ko_review.invalid_date"),
)
],
format="%m/%d/%Y",
)
end_date = DateField(
translate("forms.ko_review.end_date_label"),
@ -29,6 +30,7 @@ class KOReviewForm(CacheableForm):
message=translate("forms.ko_review.invalid_date"),
)
],
format="%m/%d/%Y",
)
pdf = FileField(
translate("forms.ko_review.pdf_label"),

View File

@ -65,6 +65,7 @@
{% if maxdate %}max="{{ maxdate.year }}"{% endif %}
{% if mindate %}min="{{ mindate.year }}"{% endif %}
/>
</div>
<div class="usa-form-group-date-ok" v-if="isDateValid">