aboutsummaryrefslogblamecommitdiffhomepage
path: root/themes/baggy/_search-form.twig
blob: 1fd4154e6765962870bc2dc272bdce1e1d4d0a66 (plain) (tree)




















                                                                                                                                               
<div id="search-form" class="messages info">			
<form method="get" action="index.php">
		<input type="hidden" name="view" value="search"></input>
        <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" />
		<input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
</form>
</div>
<script type="text/javascript">
    $(document).ready(function() {

        $("#search-form").hide();

        $("#search").click(function(){
            $("#search-form").toggle();
            $("#search").toggleClass("current");
            $("#search-arrow").toggleClass("arrow-down");
        });


    });
</script>