Allow adding new cards even in filtered or All Collections views

This is viable now that you can change the collection a card is in as introduced in c4ca5d34e4
This commit is contained in:
Jason Zimdars
2025-06-12 14:19:52 -05:00
parent 22127c15e9
commit da13744ad9
@@ -3,7 +3,7 @@
Considering
</h2>
<% if collection = filter.single_collection || (Current.user.collections.first if Current.user.collections.one?) %>
<% if collection = filter.single_collection || Current.user.collections.first %>
<%= button_to collection_cards_path(collection), method: :post, class: "card card--new-card-button btn", form_class: "full-width" do %>
<div class="card__body gap-half justify-center txt-xx-large margin-block-half">
<%= icon_tag "add" %>