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' model.project_instance.project: span= model.project_instance.project.name
  breadcrumb.item
    span= t 'models.project_instance'
    span : 
    = link-to 'project.show.project-instance.show' model.project_instance.project model.project_instance: span= model.project_instance.client_identifier
  breadcrumb.item active=true
    span= t 'models.project_instance_group'
    span : 
    span= model.workflow_group.name

.ui.top.attached.header= t 'models.plural.project_instance_action'
table.ui.bottom.attached.striped.table
  thead
    tr
      th= t 'models.workflow_action_definition'
      th= t 'attributes.project_instance_action.state'
      th= t 'attributes.project_instance_action.target_date'
  tbody
    each (sort-by (route-action 'dateSort' 'target_date') model.project_instance_actions) as |project_instance_action|
      tr
        td= project_instance_action.workflow_action_definition.title
        td= state-badge project_instance_action.state
        td= date project_instance_action.target_date
