Mercurial > public > sg101
changeset 1003:fa52bfb28217
Set id on submit news form for image related js.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Nov 2015 10:47:24 -0600 |
parents | 28d68f97cb26 |
children | 51fce245dd47 9fc12bbc8c81 |
files | news/forms.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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',