scinote-web/app/views/protocols/header/_keywords_label.html.erb
2016-07-21 13:11:15 +02:00

5 lines
216 B
Plaintext

<% if @protocol.protocol_keywords.count > 0 %>
<%= @protocol.protocol_keywords.collect{ |kw| "<strong>#{kw.name}</strong>" }.join(", ").html_safe %>
<% else %>
<em><%= t("protocols.no_keywords") %></em>
<% end %>