Formatting
This commit is contained in:
parent
a7417b4f39
commit
56cec0694f
@ -74,7 +74,9 @@ class AttachmentForm(BaseForm):
|
|||||||
object_name = HiddenField(
|
object_name = HiddenField(
|
||||||
id="attachment_object_name",
|
id="attachment_object_name",
|
||||||
validators=[
|
validators=[
|
||||||
Length(max=40, message=translate("forms.attachment.object_name.length_error"))
|
Length(
|
||||||
|
max=40, message=translate("forms.attachment.object_name.length_error")
|
||||||
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
accept = ".pdf,application/pdf"
|
accept = ".pdf,application/pdf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user