mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Simplify reports form options
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
|
||||
- content_for :minimal_js, true
|
||||
|
||||
- options = { data: { remote: "true" } }
|
||||
|
||||
= form_for @report.search, { url: url_for }.merge(options) do |f|
|
||||
= form_for @report.search, { url: url_for, data: { remote: "true" } } do |f|
|
||||
= hidden_field_tag "uuid", request.uuid
|
||||
|
||||
%fieldset.no-border-bottom.print-hidden
|
||||
|
||||
Reference in New Issue
Block a user