put comment as placeholder in field of logo

This commit is contained in:
Cayo Puigdefabregas 2023-03-08 12:43:37 +01:00
parent eb945ae348
commit 54372ad2f9
1 changed files with 4 additions and 1 deletions

View File

@ -116,7 +116,10 @@ class SanitizationEntityForm(FlaskForm):
logo = URLField(
'Logo',
[validators.Optional(), validators.URL()],
render_kw={'class': "form-control"},
render_kw={
'class': "form-control",
"placeholder": "Url where is the logo - acceptd only .png, .jpg, .gif, svg",
},
)
company_name = StringField('Company Name', render_kw={'class': "form-control"})
location = StringField('Location', render_kw={'class': "form-control"})