.container.mt-5 h2.mb-4 Archived Transcripts for Respondent: #{@respondent.name} - if @soft_deleted_transcripts.empty? .alert.alert-info.text-center | No archived transcripts found for this respondent. - else alert.alert-info.text-center | Archived transcripts are deleted 30 days after their date of archiving. .table-responsive table.table.table-hover.align-middle thead tr th scope="col" ID th scope="col" Created At th scope="col" Archived At th.text-end scope="col" Actions tbody - @soft_deleted_transcripts.each do |transcript| tr td.text-muted ##{transcript.id} td= transcript.created_at.strftime("%b %d, %Y %I:%M %p") td= transcript.deleted_at.strftime("%b %d, %Y %I:%M %p") td.text-end = link_to restore_transcript_project_respondent_category_respondent_path(@project, @respondent_category, @respondent, transcript_id: transcript.id), data: { turbo_method: :patch, turbo_confirm: "Restore this transcript and archive the currently active one?" }, class: "btn btn-outline-success btn-sm" i.bi.bi-arrow-counterclockwise.me-1 | Restore