Commit 743e65c5 authored by Luko van der Maas's avatar Luko van der Maas

Merge branch 'fix/birthday-registration-label' into 'master'

Fix capitalisation of birthday field in registration form

See merge request !1274
parents 7a202095 7cdd9fd5
......@@ -4,6 +4,7 @@ from django.forms import TypedChoiceField
from django.urls import reverse_lazy
from django.utils import timezone
from django.utils.safestring import mark_safe
from django.utils.text import capfirst
from django.utils.translation import ugettext_lazy as _
from utils.snippets import datetime_to_lectureyear
......@@ -17,7 +18,7 @@ class BaseRegistrationForm(forms.ModelForm):
widget=forms.widgets.SelectDateWidget(years=[
year for year in range(timezone.now().year - 50,
timezone.now().year - 10)]),
label=_('birthday')
label=capfirst(_('birthday'))
)
privacy_policy = forms.BooleanField(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment