<% if actors.size == 1 %>
"><%= actors.first["name"] %>
<% elsif actors.size == 2 %>
"><%= actors.first["name"] %> and
"><%= actors.last["name"] %>
<% elsif actors.size > 1 %>
"><%= actors.first["name"] %> and <%= pluralize(actors.size - 1, "other") %>
<% end %>
reacted to
" class="notification-comment-reacted-link">
<%# your article/comment or the actual title of the article/comment %>
<%= reactable_data["title"].blank? ? "your #{reactable_data['class']['name'].downcase}" : h(reactable_data["title"]) %>
with
<% reaction_categories = siblings.map { |n| n["category"] } %>
<% reaction_categories.each do |cat| %>
<% image_path = ReactionImage.new(cat).path %>
<% if image_path.present? %>
<%= image_tag(image_path, class: "reaction-image", alt: cat.to_s.humanize) %>
<% end %>
<% end %>