scinote-web/app/views/protocol_importers/templates/_details.html.erb
2019-07-09 13:41:51 +02:00

11 lines
279 B
Text

<p>
<% items = item[:details]&.reject { |_,v| v.blank? } %>
<% if items&.any? %>
<i> <%= t('protocol_importers.templates.details.title')%>: </i>
<br />
<% items.each do |k, v| %>
<%= "#{k.humanize}: #{v.to_s}" %>
<br />
<% end %>
<% end %>
</p>