scinote-web/app/views/protocols/header/_keywords_label.html.erb
2017-01-12 11:03:14 +01:00

6 lines
226 B
Plaintext

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