diff --git a/app/views/searches/_form.html.erb b/app/views/searches/_form.html.erb index 88bcafee0..682ce497b 100644 --- a/app/views/searches/_form.html.erb +++ b/app/views/searches/_form.html.erb @@ -4,6 +4,7 @@ controller: "search-form", action: "search-form:reset->bar#reset", bar_target: "form", + turbo_action: defined?(turbo_action) ? turbo_action : nil, turbo_frame: defined?(target_turbo_frame) ? target_turbo_frame : nil } do |form| %> <%= form.label :q, "Search Fizzy", class: "font-weight-black txt-nowrap" %> <%= text_field_tag :q, query_terms, diff --git a/app/views/searches/show.html.erb b/app/views/searches/show.html.erb index 8a802a3bd..2a23d1449 100644 --- a/app/views/searches/show.html.erb +++ b/app/views/searches/show.html.erb @@ -9,7 +9,7 @@ <% end %>