diff --git a/app/views/bar/_bar.html.erb b/app/views/bar/_bar.html.erb index 1e642a757..078078dd9 100644 --- a/app/views/bar/_bar.html.erb +++ b/app/views/bar/_bar.html.erb @@ -28,6 +28,6 @@ controller: "dialog", dialog_target: "dialog", action: "keydown.esc@document->bar#reset:stop" } do %> - <%= turbo_frame_tag "bar-content", data: { bar_target: "turboFrame" } %> + <%= turbo_frame_tag "bar_content", data: { bar_target: "turboFrame" } %> <% end %> <% end %> diff --git a/app/views/searches/_form.html.erb b/app/views/searches/_form.html.erb index 186d6907c..5c956c38f 100644 --- a/app/views/searches/_form.html.erb +++ b/app/views/searches/_form.html.erb @@ -1,4 +1,4 @@ -<%= form_with url: search_path, method: :get, class: "search__form flex align-center justify-center gap-half", data: { turbo_frame: "bar-content" } do |form| %> +<%= form_with url: search_path, method: :get, class: "search__form flex align-center justify-center gap-half", data: { turbo_frame: "bar_content" } do |form| %> <%= form.label :q, "Search BOXCAR", class: "font-weight-black txt-nowrap" %> <%= text_field_tag :q, query_terms, class: "search__input input", diff --git a/app/views/searches/show.html.erb b/app/views/searches/show.html.erb index 88c1f3dc5..9c9a2bb14 100644 --- a/app/views/searches/show.html.erb +++ b/app/views/searches/show.html.erb @@ -1,4 +1,4 @@ -<%= turbo_frame_tag "bar-content" do %> +<%= turbo_frame_tag "bar_content" do %> <% if @card %> <%= auto_submit_form_with url: card_path(@card), method: :get, data: { turbo_action: "advance", turbo_frame: "_top", search_redirect: true } %> <% else %>