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

5 lines
216 B
Text
Raw Normal View History

2016-07-21 19:11:15 +08:00
<% 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 %>