~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2012-02-03 01:37:21 UTC
  • mfrom: (466.1.2 bug-728209)
  • Revision ID: robertc@robertcollins.net-20120203013721-5ntnp45xb9in5eo6
    - Avoid crashing when viewing or annotating a non-existent file.
      (William Grant, #728209)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<tal:search-box>
 
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>
 
9
</tal:search-box>
 
10