~loggerhead-team/loggerhead/1.6

« back to all changes in this revision

Viewing changes to loggerhead/templatefunctions.py

  • Committer: Paul Hummer
  • Date: 2008-08-13 17:24:10 UTC
  • mto: This revision was merged to the branch mainline in revision 209.
  • Revision ID: paul@ubuntu.com-20080813172410-kzasq7ppjr6op145
Moved the form tags for the search box into the search template

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        **templatefunctions)
77
77
 
78
78
@templatefunc
79
 
def search_box():
80
 
    return _pt('search-box').expand(**templatefunctions)
 
79
def search_box(branch, navigation):
 
80
    return _pt('search-box').expand(branch=branch, navigation=navigation,
 
81
        **templatefunctions)
81
82
 
82
83
@templatefunc
83
84
def feed_link(branch):