sanger/sequencescape

View on GitHub
app/views/plate_summaries/_custom_metadatum_collection.html.erb

Summary

Maintainability
Test Coverage
<%= bs_custom_panel(:info, :table, {class: 'table table-summary'}, {title: 'Metadata' }) do %>
  <% @custom_metadatum_collection.metadata.each do |k,v| %>
    <tr>
      <th><%= k %></th>
      <td>
        <%= v %>
      </td>
    </tr>
  <%end%>
<% end %>