a86a935b08a9c159307e14b5fc34ba16186dfbc3
[catagits/Gitalist.git] / root / nav / search.tt2
1 <div class="search">
2   <form method="get" action="[% c.uri_for('search') %]" enctype="application/x-www-form-urlencoded">
3   <input name="p" type="hidden" value="[% project %]" />
4   <input name="a" type="hidden" value="search" />
5   <input name="h" type="hidden" value="[% commit.sha1 %]" />
6   <input name="f" type="hidden" value="[% c.req.param('f') %]" />
7   <select name="type" >
8       <option value="commit">commit</option>
9       <option value="author">author</option>
10       <option value="committer">committer</option>
11       <!-- Not supported, maybe later.
12       <option value="grep">grep</option>
13       <option value="pickaxe">pickaxe</option>
14       -->
15   </select><sup><a href="/search_help?p=[% project %]">?</a></sup> search:
16   <input type="text" name="text" value="[% search_text %]"/>
17   <span title="Extended regular expression"><label><input type="checkbox" name="regexp" value="1" />re</label></span>
18   </form>
19 </div>