~loggerhead-team/loggerhead/1.6

« back to all changes in this revision

Viewing changes to loggerhead/templates/search-box.pt

  • 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:
1
1
<tal:search-box>
2
 
  <label>search:</label>
3
 
  <input type="search" name="q" id="q" autocomplete="off" onblur="hide_search();" />
 
2
  <form tal:attributes="action python:branch.url('/changes',
 
3
                            start_revid=getattr(navigation,
 
4
                            'start_revid', None),
 
5
                            file_id=getattr(navigation, 'file_id', None))">
 
6
    <label>search:</label>
 
7
    <input type="search" name="q" id="q" autocomplete="off" onblur="hide_search();" />
 
8
  </form>
4
9
</tal:search-box>
5
10