Files
fizzy/app/views/public/collections/show/_doing.html.erb
T
Jorge Manrubia e5f7d252fe Create dedicate templates for card previews
To remove links and customize as we need to
2025-06-10 10:17:19 +02:00

16 lines
547 B
Plaintext

<section id="doing-cards" class="cards cards--doing" style="view-transition-name: cards-container;">
<h2 class="cards__heading">
Doing
</h2>
<% if page.used? %>
<%= render partial: "cards/display/public_preview", collection: page.records, as: :card, cached: ->(card) { cacheable_preview_parts_for(card) } %>
<% unless page.last? %>
<%= public_collection_cards_next_page_link collection, "doing-cards", page: page %>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
<% end %>
</section>