- t_scope = 'dunlop.reports.system.workflow_instance_workflow_steps'
= page_title t('title', scope: t_scope, workflow_instance: WorkflowInstance.model_name.human)
table
  thead
    th
    - WorkflowInstance.scenario_classes.each do |scenario_class|
      th= scenario_class.model_name.human
  tbody
    - WorkflowInstance.workflow_step_classes.each do |workflow_step_class|
      tr
        th= workflow_step_class.model_name.human
        - WorkflowInstance.scenario_classes.each do |scenario_class|
          td
            - if scenario_class.scenario_workflow_step_names.map(&:to_s).include? workflow_step_class.process_name
              span.fa.fa-check
            - else
              span
.page-actions
  = link_to 'Back', reports_root_path, class: 'back'
