Limit types of files that can be selected when uploading proof

This commit is contained in:
Patrick Smith 2019-01-22 16:16:18 -05:00
parent 2bea2af297
commit 7e4f6bf3eb

View File

@ -95,6 +95,7 @@ class FundingForm(CacheableForm):
["pdf", "png"], translate("forms.task_order.file_format_not_allowed") ["pdf", "png"], translate("forms.task_order.file_format_not_allowed")
) )
], ],
render_kw={"accept": ".pdf,.png,application/pdf,image/png"},
) )
clin_01 = IntegerField(translate("forms.task_order.clin_01_label")) clin_01 = IntegerField(translate("forms.task_order.clin_01_label"))
clin_02 = IntegerField(translate("forms.task_order.clin_02_label")) clin_02 = IntegerField(translate("forms.task_order.clin_02_label"))