From 5dd502e0893e91cf2faab781f4b72a91cd14b15d Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Mon, 21 Nov 2016 17:20:58 -0600 Subject: [PATCH] adding help text to phone field in contact form --- userprofile/forms.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/userprofile/forms.py b/userprofile/forms.py index a6f8a3209..9d092e5f8 100644 --- a/userprofile/forms.py +++ b/userprofile/forms.py @@ -46,5 +46,7 @@ class TriggerForm(forms.ModelForm): class ContactForm(forms.ModelForm): class Meta: model = Contact - exclude = ['user'] - + fields = ['desc','email','phone'] + help_texts = { + 'phone': 'Prototype service: may not be available in the future.' + } -- GitLab