From 6743752789ff90a1ce6cd6aab8d5b3eeb2f47fad Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 14 Jul 2017 22:19:28 -0400 Subject: [PATCH] Add help texts to the document mailing form. Signed-off-by: Roberto Rosario --- mayan/apps/mailer/forms.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mayan/apps/mailer/forms.py b/mayan/apps/mailer/forms.py index 755c7851cb..91617ec00f 100644 --- a/mayan/apps/mailer/forms.py +++ b/mayan/apps/mailer/forms.py @@ -54,13 +54,20 @@ class DocumentMailForm(forms.Form): except UserMailer.DoesNotExist: pass - email = forms.EmailField(label=_('Email address')) + email = forms.EmailField( + help_text=_( + 'Email address of the recipient. Can be multiple addresses ' + 'separated by comma or semicolon.' + ), label=_('Email address') + ) subject = forms.CharField(label=_('Subject'), required=False) body = forms.CharField( label=_('Body'), widget=forms.widgets.Textarea(), required=False ) user_mailer = forms.ModelChoiceField( - label=_('Mailing profile'), queryset=UserMailer.objects.none() + help_text=_( + 'The email profile that will be used to send this email.' + ), label=_('Mailing profile'), queryset=UserMailer.objects.none() )