sanger/sequencescape

View on GitHub
app/views/pipelines/_show_held_requests.html.erb

Summary

Maintainability
Test Coverage

    <% if @show_held_requests %>
      <%= link_to( "Hide hidden requests", { controller: "pipelines", action: "show", id: @pipeline.id, page: @current_page }) %>
    <% else %>
      <%= link_to( "Show hidden requests", { controller: "pipelines", action: "show", id: @pipeline.id, view: "all", page: @current_page }) %>
    <% end %>