Show actions to score related content to everyone
We were only showing these actions to users with small screens and to mouse users on hover. Keyboard users or users with a touch screen of a medium or large size could never find out the actions were there.
This commit is contained in:
@@ -5,13 +5,11 @@
|
||||
score_positive_related_content_path(related),
|
||||
method: :put,
|
||||
remote: true,
|
||||
id: "score-positive-related-#{related.id}",
|
||||
class: "score-positive" %>
|
||||
|
||||
<%= link_to t("related_content.score_negative"),
|
||||
score_negative_related_content_path(related),
|
||||
method: :put,
|
||||
remote: true,
|
||||
id: "score-negative-related-#{related.id}",
|
||||
class: "score-negative" %>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user