Add root search action, which does nothing right now. How did this used to be impleme...
[catagits/Gitalist.git] / root / nav / search.tt2
index 8325f72..b0a7b59 100644 (file)
@@ -1,3 +1,4 @@
+[% IF Repository %]
 <div id="page-search">
   <form method="get" action="[% c.uri_for_action('/repository/search', [Repository.name]) %]" enctype="application/x-www-form-urlencoded">
   <select name="type">
@@ -13,3 +14,4 @@
   <span title="Extended regular expression"><label><input type="checkbox" name="regexp" value="1">re</label></span>
   </form>
 </div>
+[% END %]
\ No newline at end of file