From 1bc5d3535fd4fb72198e2cb0d2d3eb1c1191fa16 Mon Sep 17 00:00:00 2001 From: Leandro Radusky Date: Wed, 26 Jul 2023 12:02:06 +0200 Subject: [PATCH] Button allowing to copy uuid for each sample in box detail --- app/views/boxes/show.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/boxes/show.haml b/app/views/boxes/show.haml index 096fbdba6..40d7e5b4c 100644 --- a/app/views/boxes/show.haml +++ b/app/views/boxes/show.haml @@ -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