<%= search_form_for @search, :url => spree.sales_total_admin_reports_path do |s| %>
<%= label_tag nil, t(:start), :class => 'inline' %> <%= s.text_field :created_at_gt, :class => 'datepicker datepicker-from' %> <%= s.text_field :created_at_lt, :class => 'datepicker datepicker-to' %> <%= label_tag nil, t(:end), :class => 'inline' %>
<%= button t(:search), 'icon-search' %>
<% end %>