Save start and end dates
This commit is contained in:
parent
d980260e7f
commit
70b4a51d8a
@ -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"),
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user