Reduce space around input fields and add file size info to file upload

This commit is contained in:
leigh-mil
2019-06-12 16:12:59 -04:00
parent daec01eba0
commit cd0433d85b
3 changed files with 10 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ class TaskOrderForm(BaseForm):
)
pdf = FileField(
None,
description="Your file may not exceed 50MB",
validators=[
FileAllowed(["pdf"], translate("forms.task_order.file_format_not_allowed")),
FileLength(message=translate("forms.validators.file_length")),