We were using the same code 5 times, with the only slight variation being the extra heading in the debates section.
7 lines
215 B
Plaintext
7 lines
215 B
Plaintext
<%= render Shared::CommentsComponent.new(@debate, @comment_tree) do %>
|
|
<h3>
|
|
<%= t("debates.show.comments_title") %>
|
|
<span class="js-comments-count">(<%= @debate.comments_count %>)</span>
|
|
</h3>
|
|
<% end %>
|