scinote-web/app/views/protocol_importers/templates/_details.html.erb

11 lines
240 B
Text
Raw Normal View History

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