Skip to content
Snippets Groups Projects
Commit 1af81abe authored by Valentin Groues's avatar Valentin Groues :eyes:
Browse files

change 'contact on' label on contact attempt object - fixes #95

parent c02b4101
No related branches found
No related tags found
No related merge requests found
...@@ -281,7 +281,7 @@ class VisitAddForm(ModelForm): ...@@ -281,7 +281,7 @@ class VisitAddForm(ModelForm):
class ContactAttemptForm(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) widget=forms.DateTimeInput(DATETIMEPICKER_DATE_ATTRS)
) )
......
...@@ -15,7 +15,7 @@ class ContactAttempt(models.Model): ...@@ -15,7 +15,7 @@ class ContactAttempt(models.Model):
) )
type = models.CharField(max_length=2, default=CONTACT_TYPES_PHONE, choices=CONTACT_TYPES_CHOICES) 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) success = models.BooleanField(default=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment