Use the text_area_div css for the document page content edit text area

This commit is contained in:
Roberto Rosario
2012-07-28 05:42:21 -04:00
parent cf76d98546
commit 24fc48ad85

View File

@@ -89,6 +89,8 @@ class DocumentPageForm_edit(forms.ModelForm):
'page_label',
'content',
]
self.fields['content'].widget.attrs.update({'class': 'text_area_div'})
page_image = forms.CharField(
required=False, widget=DocumentPageImageWidget()
)