]>
Commit | Line | Data |
---|---|---|
1 | <div id="search-form" class="messages info"> | |
2 | <form method="get" action="index.php"> | |
3 | <p> | |
4 | <input type="hidden" name="view" value="search"></input> | |
5 | <label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" /> | |
6 | <input type="submit" value="{% trans "Search" %} !"></input> | |
7 | </p> | |
8 | </form> | |
9 | </div> | |
10 | <script type="text/javascript"> | |
11 | $(document).ready(function() { | |
12 | ||
13 | $("#search-form").hide(); | |
14 | ||
15 | $("#search").click(function(){ | |
16 | $("#search-form").toggle(); | |
17 | $("#search").toggleClass("current"); | |
18 | $("#search-arrow").toggleClass("arrow-down"); | |
19 | }); | |
20 | ||
21 | ||
22 | }); | |
23 | </script> |