We forgot to change the `span` tag when we replaced links with buttons
in commit ba0d21b46.
19 lines
628 B
Plaintext
19 lines
628 B
Plaintext
<div class="votes">
|
|
<%= t("comments.comment.votes", count: comment.total_votes) %>
|
|
|
|
|
|
|
<div class="in-favor">
|
|
<%= render Shared::VoteButtonComponent.new(comment,
|
|
value: "yes",
|
|
title: t("votes.agree")) %>
|
|
<%= comment.total_likes %>
|
|
</div>
|
|
|
|
<div class="against">
|
|
<%= render Shared::VoteButtonComponent.new(comment,
|
|
value: "no",
|
|
title: t("votes.disagree")) %>
|
|
<%= comment.total_dislikes %>
|
|
</div>
|
|
</div>
|