aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/search.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/general/search.rhtml')
-rw-r--r--app/views/general/search.rhtml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 694ab932f..95ce217ba 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -10,12 +10,8 @@
<% @include_request_link_in_authority_listing = true %>
<h1><%=@title%></h1>
-<script type="text/javascript">
- $(function() {
- $(".use-datepicker").datepicker({dateFormat: 'yy-mm-dd'});
- });
-</script>
+<%= render :partial => 'localised_datepicker' %>
<% if @advanced %>
<p><%= _('To use the advanced search, combine phrases and labels as described in the search tips below.') %></p>