<%def name="searchbox(link, fields=[])">
${h.form(link, method='get', id='msgsearch')}
% if hasattr(c, 'q') and c.q:
${_('About %(n)s results (%(t)s seconds)') % dict(n=c.total_found, t=c.search_time)}
% else:
 
% endif
% for field in fields:
% endfor ${h.end_form()}