% standards = prerequisites_standards(resource) %>
<% if standards.present? %>
Prerequisites
<% standards.each_with_index do |standard, i| %>
-
<%= link_to standard, search_path(search_term: standard) %><%= ', ' if i != standards.size - 1 %>
<% end %>
<% end %>