scinote-web/app/views/protocols/header/_keywords_label.html.erb

6 lines
227 B
Plaintext
Raw Normal View History

2016-07-21 19:11:15 +08:00
<% if @protocol.protocol_keywords.count > 0 %>
<%= @protocol.protocol_keywords.collect{ |kw| "<strong>#{sanitize(kw.name)}</strong>" }.join(", ").html_safe %>
2016-07-21 19:11:15 +08:00
<% else %>
<em><%= t("protocols.no_keywords") %></em>
<% end %>