with (sort-by 'name' model.project_scenarios) as |project_scenarios|
  table.ui.definition.table
    thead
      tr
        th
        each project_scenarios as |project_scenario|
          th: a.pointable{action 'edit_project_scenario' project_scenario}= project_scenario.name
    tbody
      each model.sorted_workflow_groups as |workflow_group|
        tr.active
          td= workflow_group.name
          each project_scenarios as |project_scenario|
            td
              if (contains workflow_group project_scenario.workflow_groups)
                i.square.icon
        each workflow_group.sorted_workflow_action_definitions as |workflow_action_definition|
          tr
            td= workflow_action_definition.title
            each project_scenarios as |project_scenario|
              td
                if (contains workflow_action_definition project_scenario.workflow_action_definitions)
                  i.circle.icon



.modal-actions.sticky
  button.ui.basic.button.modal-rollback{action 'close'}= t 'general.close'

