equal
deleted
inserted
replaced
106 view.set_request_content_type() |
106 view.set_request_content_type() |
107 view.set_stream() |
107 view.set_stream() |
108 if (('__notemplate' in self._cw.form) |
108 if (('__notemplate' in self._cw.form) |
109 and view.templatable |
109 and view.templatable |
110 and view.content_type == self._cw.html_content_type()): |
110 and view.content_type == self._cw.html_content_type()): |
111 view.w(self._cw.document_surrounding_div()) |
111 view.w(u'<div>') |
112 view.render() |
112 view.render() |
113 view.w(u'</div>') |
113 view.w(u'</div>') |
114 else: |
114 else: |
115 view.render() |
115 view.render() |
116 # have to replace our stream by view's stream (which may be a binary |
116 # have to replace our stream by view's stream (which may be a binary |