]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Set destination for nav search form. Use search type for the input.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 5 Feb 2012 22:23:49 +0000 (17:23 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 5 Feb 2012 22:23:49 +0000 (17:23 -0500)
xonstat/templates/nav.mako

index 62786d72267ebf09a2704472459d5b45568b4b50..9c29100217ce8b01dfd0173de09c4fb4a1f4262e 100755 (executable)
                 % endif
                 ><a href="${request.route_url('map_index')}" title="Map Index">Maps</a></li>
             </ul>
-            <form id="navsearch" action="#" method="get">
-              <input type="text" class="input-small" placeholder="search" />
-              <select id="sselect">
+            <form id="navsearch" action="${request.route_url('search')}" method="get">
+              <input type="hidden" name="fs" />
+              <input type="search" class="input-small" placeholder="search" name="sval"/>
+              <select name="stype">
                 <option>players</option>
                 <option>servers</option>
                 <option>maps</option>