{{t 'editStack.title'}}

{{input type="text" value=primaryResource.name classNames="form-control" placeholder=(t 'editStack.name.placeholder') disabled=true}} {{textarea value=primaryResource.description classNames="form-control no-resize" rows="5" placeholder=(t 'editStack.description.placeholder')}} {{new-select classNames="form-control" optionValuePath="id" optionLabelPath="displayName" content=allProjects value=primaryResource.projectId prompt="editStack.project.prompt" localizedPrompt=true }} {{#if primaryResource.project.resourceQuota}}
{{#accordion-list showExpandAll=false as | al expandFn | }} {{#accordion-list-item title=(t 'editStack.resourceQuota.title') detail=(t 'editStack.resourceQuota.detail') expandAll=al.expandAll expand=(action expandFn) expandOnInit=true }} {{namespace-resource-quota editing=(or editing isNew) expanded=expanded limit=primaryResource.resourceQuota.limit nsDefaultQuota=primaryResource.project.namespaceDefaultResourceQuota.limit changed=(action "updateNsQuota") }} {{/accordion-list-item}} {{/accordion-list}}
{{/if}}
{{top-errors errors=errors}} {{save-cancel editing=editing save="save" cancel="cancel"}}