Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add labels to weight import form

Roland Geider6cd40d488f50
diff --git a/weight/views.py b/weight/views.py
index e06003a10..28e82be0e 100644
--- a/weight/views.py
+++ b/weight/views.py
@@ -194,8 +194,8 @@ class WeightCsvImportForm(Form):
'''
A helper form with only a textarea
'''
- csv_input = CharField(widget=Textarea)
- date_format = forms.ChoiceField(choices=CSV_DATE_FORMAT)
+ csv_input = CharField(widget=Textarea, label=_('Input'))
+ date_format = forms.ChoiceField(choices=CSV_DATE_FORMAT, label=_('Date format'))
class WeightCsvImportFormPreview(FormPreview):