Changes between Version 7 and Version 8 of GenshiRecipes/FormFilling
- Timestamp:
- Sep 26, 2006, 12:24:50 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiRecipes/FormFilling
v7 v8 118 118 #!python 119 119 tmpl = loader.load('myform.html') 120 tmpl.filters.append(HTMLFormFiller({120 filler = HTMLFormFiller({ 121 121 'name': 'Look, Ma', 122 'enable': ' ',122 'enable': 'on', 123 123 'option': 'B', 124 124 'description': 'This is the description someone put in here', 125 125 'dropdown': '2' 126 }) )127 print tmpl.generate(). render('xhtml')126 }) 127 print tmpl.generate().filter(filler).render('xhtml') 128 128 }}} 129 129