]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - themes/default/_search-form.twig
Merge branch 'dev' into data-for-mysql
[github/wallabag/wallabag.git] / themes / default / _search-form.twig
old mode 100644 (file)
new mode 100755 (executable)
index 74f420d..0cf6097
@@ -2,22 +2,8 @@
 <form method="get" action="index.php">
     <p>
                <input type="hidden" name="view" value="search"></input>
-        <label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" />
+        <label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" />
                <input type="submit" value="{% trans "Search" %} !"></input>
     </p>
 </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>
\ No newline at end of file