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

6 lines
223 B
Plaintext
Raw Normal View History

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