d-breadcrumbs as |breadcrumb|
  breadcrumb.item
    = link-to 'project.index': span= t 'models.plural.project'
  breadcrumb.item
    span= t 'models.project'
    span : 
    = link-to 'project.show' project: span= project.name
  breadcrumb.item active=true
   span= t 'models.plural.project_instance_group'
.ui.right.floated.pagination.menu= page-numbers content=model showFL=true
= page-title 'models.plural.project_instance_group'
  = pagination-progress content=model class='between-brackets'
table.ui.stiped.table
  thead
    tr
      th
        = t 'models.workflow_group'
        /ui-dropdown class='right basic labeled icon button' action='nothing'
          i.dropdown.icon
          span.ui.tiny.header Filter
          .menu
            .ui.icon.search.input
              i.search.icon
              input type='text' name='search' placeholder='Search&hellip;'
            .scrolling.menu
              each model.project.workflow_groups as |workflow_group|
                ui-checkbox class='item' label=workflow_group.title onChange=(action 'toggle_workflow_group_filter' workflow_action_definition)

      th= t 'models.project_instance'
      th= t 'attributes.project_instance_group.state'
    table-filters content=model filters=filters as |filter|
      = filter.dropdown-select key='workflow_group_id' options=project.sorted_workflow_groups labelPath='name'
      = filter.input key='project_instance_client_identifier_cont'
      = filter.dropdown-select-multiple key='state_in' options=globals.project_instance_group.states translationPath='attributes.state'
  tbody
    each model as |project_instance_group|
      tr
        td= link-to 'project.show.project-instance-group.show' project_instance_group.project_instance.project project_instance_group
          span= project_instance_group.workflow_group.name
        td= link-to 'project.show.project-instance.show' project_instance_group.project_instance.project.id project_instance_group.project_instance.id
          span= project_instance_group.project_instance.client_identifier
        td= state-badge project_instance_group.state
