equal
deleted
inserted
replaced
246 # context dictionnary |
246 # context dictionnary |
247 req = form.req |
247 req = form.req |
248 try: |
248 try: |
249 return req.data[self] |
249 return req.data[self] |
250 except KeyError: |
250 except KeyError: |
251 fkwargs = {} |
251 fkwargs = {'eidparam': self.eidparam} |
252 if self.use_fckeditor(form): |
252 if self.use_fckeditor(form): |
253 # if fckeditor is used and format field isn't explicitly |
253 # if fckeditor is used and format field isn't explicitly |
254 # deactivated, we want an hidden field for the format |
254 # deactivated, we want an hidden field for the format |
255 fkwargs['widget'] = HiddenInput() |
255 fkwargs['widget'] = HiddenInput() |
256 fkwargs['initial'] = 'text/html' |
256 fkwargs['initial'] = 'text/html' |