Skip to content
Snippets Groups Projects
Commit 9cac37cf authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

fields.Place: nastaven placeholder="Kód"

parent 3374da00
Branches
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ class LastName(Name): ...@@ -113,6 +113,7 @@ class LastName(Name):
class Place(wtforms.StringField): class Place(wtforms.StringField):
def __init__(self, label="Místo", validators=None, **kwargs): def __init__(self, label="Místo", validators=None, **kwargs):
super().__init__(label, validators, **kwargs) super().__init__(label, validators, **kwargs)
self.render_kw = {"placeholder": "Kód"}
place_loaded: bool = False place_loaded: bool = False
place: Optional[db.Place] = None place: Optional[db.Place] = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment