diff --git a/app/views/cards/index/_add_card_button.html.erb b/app/views/cards/index/_add_card_button.html.erb index 93d8d7442..052a26f8e 100644 --- a/app/views/cards/index/_add_card_button.html.erb +++ b/app/views/cards/index/_add_card_button.html.erb @@ -1,6 +1,6 @@ <% if collection = user_filtering.single_collection %>
- <%= button_to collection_cards_path(collection), method: :post, class: "btn" do %> + <%= button_to collection_cards_path(collection), method: :post, class: "btn", form: { data: { turbo_frame: "_top" } } do %> <%= icon_tag "add" %> Add a card <% end %>