= ui-dropdown class='button' selected=active_project_scenario onChange=(action (mut active_project_scenario)) as |execute mapper|
  .default.text= t 'action.select_model' modelPath='models.project_scenario'
  i.dropdown.icon
  .menu
    .header
      i.grid.layout.icon
      a.pointable{action 'show_project_scenarios_grid' project} Show activation grid
    each (sort-by 'name' project.project_scenarios) as |project_scenario|
      .item data-value='{{map-value mapper project_scenario}}'
        = project_scenario.name
if active_project_scenario
  button.ui.icon.button{action (mut active_project_scenario) null}
    i.close.icon
  button.ui.edit.icon.button{action 'edit_selected_project_scenario'}
    i.edit.icon
