table.ui.bottom.attached.striped.table
  thead
    tr
      th= t 'models.project_instance_group'
      th= t 'attributes.project_instance_group.state'
  tbody
    each (sort-by 'workflow_group.position' model.project_instance_groups) as |project_instance_group|
      tr
        td
          = link-to 'project.show.project-instance-group.show' model.project.id project_instance_group.id
            span= project_instance_group.workflow_group.name
        td= state-badge project_instance_group.state
