diff --git a/smash/web/forms.py b/smash/web/forms.py index 62984dc777df1fa50514cf3e6764f2cbde6e8ac6..0740fd9bc48810ee9b52b17d2a569e4ab01b09e3 100644 --- a/smash/web/forms.py +++ b/smash/web/forms.py @@ -281,7 +281,7 @@ class VisitAddForm(ModelForm): class ContactAttemptForm(ModelForm): - datetime_when = forms.DateTimeField(label='Contact on (YYYY-MM-DD HH:MM)', + datetime_when = forms.DateTimeField(label='When? (YYYY-MM-DD HH:MM)', widget=forms.DateTimeInput(DATETIMEPICKER_DATE_ATTRS) ) diff --git a/smash/web/models/contact_attempt.py b/smash/web/models/contact_attempt.py index 796b1ce5e68bb97b24278b60fcbb4ce1032d9db9..b21d8d60de852e1588c785cbecfd885554390d68 100644 --- a/smash/web/models/contact_attempt.py +++ b/smash/web/models/contact_attempt.py @@ -15,7 +15,7 @@ class ContactAttempt(models.Model): ) type = models.CharField(max_length=2, default=CONTACT_TYPES_PHONE, choices=CONTACT_TYPES_CHOICES) - datetime_when = models.DateTimeField(verbose_name="Contact on", help_text='When did the contact occurred?') + datetime_when = models.DateTimeField(verbose_name="When", help_text='When did the contact occurred?') success = models.BooleanField(default=False)