Skip to content

Commit

Permalink
Rename placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 21, 2023
1 parent a5a79d9 commit f7bc3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemarche/www/tenders/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, *args, **kwargs):
self.fields["description"].required = True
# self.fields["perimeters"].required = True # JS
# label, placeholder & help_text
self.fields["title"].widget.attrs["placeholder"] = "Ex : Devis rénovation façade"
self.fields["title"].widget.attrs["placeholder"] = "Ex : Demande de devis rénovation façade à Grenoble"
self.fields["sectors"].help_text = Tender._meta.get_field("sectors").help_text # else doesn't appear
self.fields["is_country_area"].help_text = None

Expand Down

0 comments on commit f7bc3b9

Please sign in to comment.