1. hizel
  2. cciw-website

Commits

Luke Plant  committed b5f2b81

Added help text that shows the date format for date fields on booking form

  • Participants
  • Parent commits 6d7ce79
  • Branches bookings

Comments (0)

Files changed (1)

File cciw/bookings/forms.py

View file
 
 AddPlaceForm.base_fields['agreement'].required = True
 AddPlaceForm.base_fields['date_of_birth'].widget.attrs['placeholder'] = 'YYYY-MM-DD'
+AddPlaceForm.base_fields['date_of_birth'].help_text = u'(YYYY-MM-DD)'
 AddPlaceForm.base_fields['last_tetanus_injection'].widget.attrs['placeholder'] = 'YYYY-MM-DD'
+AddPlaceForm.base_fields['last_tetanus_injection'].help_text = u'(YYYY-MM-DD)'