Add "form-control" attribute to some textareas

This commit is contained in:
Maël Solard
2014-08-07 18:38:41 +02:00
parent 9c04059db4
commit 761aff647d
+1 -1
View File
@@ -10,7 +10,7 @@ from modoboa.extensions.admin.models import (
class ForwardForm(forms.Form):
dest = forms.CharField(
label=ugettext_lazy("Recipient(s)"),
widget=forms.Textarea,
widget=forms.Textarea(attrs={"class": "form-control"}),
required=False,
help_text=ugettext_lazy("Indicate one or more recipients separated by a ','")
)