From a391d27b44be8f8f0cb496252c725ee3b2b51ea8 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 28 Jun 2019 14:33:37 -0400 Subject: [PATCH] Add transition form comment help text Signed-off-by: Roberto Rosario --- mayan/apps/document_states/forms.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mayan/apps/document_states/forms.py b/mayan/apps/document_states/forms.py index cc7c76953b..971b17bd2d 100644 --- a/mayan/apps/document_states/forms.py +++ b/mayan/apps/document_states/forms.py @@ -178,7 +178,12 @@ class WorkflowInstanceTransitionForm(forms.Form): label=_('Transition'), queryset=WorkflowTransition.objects.none() ) comment = forms.CharField( - label=_('Comment'), required=False, widget=forms.widgets.Textarea() + help_text=_('Optional comment to attach to the transition.'), + label=_('Comment'), required=False, widget=forms.widgets.Textarea( + attrs={ + 'rows': 3 + } + ) )