Skip to content

Commit 2e29f0f

Browse files
committed
Unify form labels: add labels to StatusForm
1 parent 5f1a2d6 commit 2e29f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

task_manager/statuses/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class StatusForm(forms.ModelForm):
66
class Meta:
77
model = Status
88
fields = ["name"]
9+
labels = {"name": "Имя"}
910
widgets = {
1011
"name": forms.TextInput(attrs={"class": "form-control"}),
1112
}

0 commit comments

Comments
 (0)