Fix form rendering in admin orders

ActionView::Template::Error: Nil location provided. Can't build URI.
  0) Account and Billing Settings updating as an admin user loads the page
     Failure/Error: = form_tag false, {name: "orders_form", "ng-submit" => "fetchResults()"} do
This commit is contained in:
Matt-Yorkley
2019-12-22 15:25:33 +01:00
committed by Maikel Linke
parent 81103f3f71
commit b86759d7a7

View File

@@ -1,5 +1,5 @@
%div{"data-hook" => "admin_orders_index_search"}
= form_tag false, {name: "orders_form", "ng-submit" => "fetchResults()"} do
= form_tag nil, {name: "orders_form", "ng-submit" => "fetchResults()"} do
.field-block.alpha.four.columns
.date-range-filter.field
= label_tag nil, t(:date_range)