table.ui.definition.table
  tr
    td= t 'attributes.project_scenario.name'
    td= input value=model.name enter='saveRecord'
button.ui.button{action 'check_all'} Check all
button.ui.button{action 'check_none'} Check none
.workflow-instance-workflow-groups-container
  each model.project.sorted_workflow_groups as |workflow_group|
    .workflow-instance-workflow-group-container
      .workflow-instance-workflow-group-title
        ui-checkbox class='toggle' label=workflow_group.name checked=(contains workflow_group.id selected_workflow_group_ids) onChange=(action 'change_workflow_group_selection' workflow_group)
      .workflow-instance-workflow-group-body
        each workflow_group.sorted_workflow_action_definitions as |workflow_action_definition|
          .workflow-action-definition-row
            ui-checkbox class='toggle' label=workflow_action_definition.title checked=(contains workflow_action_definition.id selected_workflow_action_definition_ids) onChange=(action 'change_workflow_action_definition_selection' workflow_action_definition)

.modal-actions.sticky
  button.ui.primary.button.modal-save.pull-right{action 'saveRecord'}= t 'general.save'
  button.ui.negative.button.modal-destroy.pull-right{action 'destroyRecord'}= t 'general.destroy.button'
  button.ui.basic.button.modal-rollback{action 'rollback_and_close'}= t 'general.rollback'
