mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Forcing POST for the search form.
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
= form_tag search_enterprises_path do
|
||||
.large-10.columns
|
||||
= text_field_tag :suburb_search, "",
|
||||
data: { autocomplete_source: suburbs_path }, class: "right", placeholder: "Enter your suburb or postcode..."
|
||||
data: { autocomplete_source: suburbs_path }, class: "right", placeholder: "Enter your suburb or postcode...",
|
||||
html: { method: :post }
|
||||
= hidden_field_tag :suburb_id
|
||||
.large-2.columns
|
||||
= submit_tag "Search", class: "button-huge"
|
||||
|
||||
Reference in New Issue
Block a user