Allow sorting widget_cards on sdg section

This commit is contained in:
taitus
2023-10-27 10:58:00 +02:00
parent 7c85daac3f
commit f795c18bec
2 changed files with 25 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
<h2 class="title"><%= phase.title %></h2>
</header>
<%= render "shared/cards", cards: phase.cards %>
<%= render "shared/cards", cards: phase.cards.sort_by_order %>
</section>
<% end %>
</main>