sanger/sequencescape

View on GitHub
app/views/lab_searches/show/_batch.html.erb

Summary

Maintainability
Test Coverage

<tr class="<%= cycle("rowodd", "roweven") %>">
  <td><%= link_to batch.id, controller: :batches, action: :show, id: batch.id %></td>
  <td><%= link_to batch.pipeline.name, controller: :pipelines, action: :show, id: batch.pipeline.id %></td>
  <td><%= batch.state.humanize %></td>
</tr>