changeset 2032:4307c3e76076

fix for 329 foobar theme crashes with jinja2.exceptions.UndefinedError
author Roger Haase <crosseyedpenguin@yahoo.com>
date Sun, 03 Mar 2013 12:58:29 -0700
parents f1a134e749c7
children 3217a345d20a e1cf79737e15
files MoinMoin/themes/foobar/templates/layout.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/templates/layout.html	Sun Mar 03 19:52:02 2013 +0100
+++ b/MoinMoin/themes/foobar/templates/layout.html	Sun Mar 03 12:58:29 2013 -0700
@@ -107,7 +107,7 @@
     <div id="moin-search">
     {{ gen.form.open(search_form, id='moin-searchform', method='get', action=url_for('frontend.search')) }}
         {{ gen.input(search_form['q'], type='search', id='moin-search-query', size='40') }}
-        {{ gen.button(search_form['submit'], type='submit', id='moin-search-submit') }}
+        {{ forms.render_submit(search_form, id='moin-search-submit') }}
         {{ forms.render_errors(search_form) }}
     {{ gen.form.close() }}
     </div>