diff MoinMoin/items/__init__.py @ 248:1a1dab306214

move the flatland form html generator to the global environment
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 02 Jun 2011 18:14:48 +0200
parents 727e03c59dbf
children 91330de48b9c cbf97d9067f3
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Tue May 31 14:31:27 2011 +0200
+++ b/MoinMoin/items/__init__.py	Thu Jun 02 18:14:48 2011 +0200
@@ -28,7 +28,6 @@
 
 from MoinMoin.security.textcha import TextCha, TextChaizedForm, TextChaValid
 from MoinMoin.signalling import item_modified
-from MoinMoin.util.forms import make_generator
 from MoinMoin.util.mimetype import MimeType
 from MoinMoin.util.mime import Type, type_moin_document
 from MoinMoin.util.tree import moin_page, html, xlink, docbook
@@ -721,7 +720,6 @@
                                rows_meta=str(ROWS_META), cols=str(COLS),
                                help=self.modify_help,
                                form=form,
-                               gen=make_generator(),
                               )
 
     copy_template = 'copy.html'
@@ -1186,7 +1184,6 @@
                                rows_data=str(ROWS_DATA), rows_meta=str(ROWS_META), cols=str(COLS),
                                help=self.modify_help,
                                form=form,
-                               gen=make_generator(),
                               )
 
 item_registry.register(Text._factory, Type('text/*'))
@@ -1376,7 +1373,6 @@
                                rows_meta=str(ROWS_META), cols=str(COLS),
                                help=self.modify_help,
                                form=form,
-                               gen=make_generator(),
                               )
 
     def _render_data(self):
@@ -1474,7 +1470,6 @@
                                help=self.modify_help,
                                drawing_exists=drawing_exists,
                                form=form,
-                               gen=make_generator(),
                               )
 
     def _render_data(self):
@@ -1558,7 +1553,6 @@
                                rows_meta=str(ROWS_META), cols=str(COLS),
                                help=self.modify_help,
                                form=form,
-                               gen=make_generator(),
                               )
 
     def _render_data(self):