Add tag list component to debate feed

This commit is contained in:
taitus
2021-01-30 11:52:40 +01:00
parent 60f3cc8cf9
commit edbef4fd88
4 changed files with 32 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
<div class="debate">
<strong><%= link_to debate.title, url_for(debate) %></strong>
<%= render SDG::TagListComponent.new(debate, limit: 5) %>
</div>