zaid/thyracker

View on GitHub
app/views/samples/_sample.html.haml

Summary

Maintainability
Test Coverage
%tr.sample
  %td= sample.taken_on
  %td= sample.tsh
  %td= sample.t3
  %td= sample.t4
  %td 
    = link_to "Details", sample_path(sample), class: "sample-details"
    = link_to "Update", edit_sample_path(sample), class: "sample-update"
    = link_to "Delete", sample_path(sample), method: :delete, class: "sample-delete"