# HG changeset patch # User Brian Neal # Date 1448556444 21600 # Node ID fa52bfb282178ad42915e7149807cd0d0d0a6a6e # Parent 28d68f97cb26e642732d249c389b8c0f6d22312a Set id on submit news form for image related js. diff -r 28d68f97cb26 -r fa52bfb28217 news/forms.py --- a/news/forms.py Thu Nov 26 00:47:33 2015 -0600 +++ b/news/forms.py Thu Nov 26 10:47:24 2015 -0600 @@ -17,6 +17,7 @@ short_markup = forms.CharField( label="Article text", widget=forms.Textarea(attrs={ + 'id': 'id_body', # needed for image related js 'rows': 60, 'cols': 80, 'class': 'markItUp smileyTarget',