Skip to content

Commit

Permalink
Task #50: placeholder added
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Mar 2, 2021
1 parent 1550912 commit c8eae7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rndt/layers/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ class Meta:
resolution = forms.FloatField(
label=_("resolution choices"),
required=False,
widget=NumberInput(attrs={"class": "form-control"}),
widget=NumberInput(attrs={"class": "form-control", "palceholder": 10}),
)

accuracy = forms.FloatField(
label=_("accuracy"),
required=False,
widget=NumberInput(attrs={"class": "form-control"}),
widget=NumberInput(attrs={"class": "form-control", "palceholder": 0.5}),
)

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit c8eae7b

Please sign in to comment.