Skip to content

Commit

Permalink
Button allowing to copy uuid for each sample in box detail
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroradusky committed Jul 26, 2023
1 parent 50cdc80 commit 1bc5d35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/boxes/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
- @samples.each do |sample|
.col.pe-7.list-items.box-sample-row
.items-row
.items-item= sample.uuid
.items-item
.copy-content
= sample.uuid
%button.btn-copy.ttip.left
= icon_tag "copy", class: "btn-icon"
- unless sample.blinded_attribute?(:batch_number)
.sample-row-action= sample.batch_number

Expand Down

0 comments on commit 1bc5d35

Please sign in to comment.