<%= button_to disable_recommendations_path, title: t("shared.recommended_index.hide"),
class: "hide-recommendations",
data: {
toggle: "recommendations",
confirm: t("#{namespace}.index.recommendations.disable")
},
method: :put do %>
<%= t("shared.recommended_index.hide") %>
<% end %>
<% recommendations.each do |recommendation| %>
-
<%= link_to recommendation.title, polymorphic_path(recommendation), class: "recommendation" %>
<% end %>
<%= link_to t("shared.recommended_index.see_more"),
current_path_with_query_params(order: "recommendations"),
class: "small" %>