Skip to content

Commit

Permalink
Target main turbo-frame in search box form tag
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 18, 2024
1 parent 585ef85 commit fc61191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/trestle/search/_search.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="searchbox">
<%= form_tag admin.path, method: :get do %>
<%= form_tag admin.path, method: :get, data: { turbo_frame: "main" } do %>
<div class="input-group">
<%= label_tag :q, icon("fas fa-search"), class: "input-group-text" %>
Expand Down

0 comments on commit fc61191

Please sign in to comment.