= page_title :show, record_class
div class=(@record.archived? ? 'record-archived' : 'record-active')
  = render 'show_fields'
  h2.collapsible-expand-all= t 'workflow_instance.workflow_steps_header'
  .workflow-instance-workflow-steps-container
    - @record.workflow_steps.each do |workflow_step|
      = render 'workflow_step', workflow_step: workflow_step
  .page-actions
    = link_to 'Back', record_class, class: 'back'
    - if can? :manage, @record
      = link_to t('collection.edit_button', models: record_class.model_name.human), polymorphic_path([:collection_edit, record_class], ids: [@record.id]), class: 'collection-edit'
- if params[:show_changes].present?
  /= render 'change_events/show_record_changes', target: @record
