{{#accordion-list showExpandAll=false as | al expandFn |}} {{#if (eq step 1)}}

{{t 'nodeDriver.packet.accountSection'}}

{{#input-or-display editable=(not dataFetched) value=config.projectId}} {{input type="text" name="username" value=config.projectId classNames="form-control" placeholder=(t 'nodeDriver.packet.projectId.placeholder')}} {{/input-or-display}}
{{#input-or-display editable=(not dataFetched) value=config.apiKey obfuscate=true}} {{input type="password" name="password" value=config.apiKey classNames="form-control" placeholder=(t 'nodeDriver.packet.apiKey.placeholder')}} {{/input-or-display}}

{{t 'nodeDriver.packet.apiKeyHelp' htmlSafe=true}}

{{save-cancel createLabel='nodeDriver.packet.loginAction' savingLabel='nodeDriver.packet.authentication' save='authPacket' cancel='cancel' }} {{else}}
{{driverOptionsTitle}}

{{t 'nodeDriver.packet.location'}}

{{t 'nodeDriver.packet.instanceOptionsSection'}}

{{t 'nodeDriver.packet.planDetails.label'}}

{{#each planChoiceDetails.specs.cpus as |plan|}}
{{plan.count}} {{plan.type}}
{{/each}}
{{planChoiceDetails.specs.memory.total}}
{{#each planChoiceDetails.specs.drives as |plan|}}
{{plan.count}} {{plan.size}} {{plan.type}}
{{/each}}
{{#each planChoiceDetails.specs.nics as |plan|}}
{{plan.count}} {{plan.type}}
{{/each}}
{{templateOptionsTitle}}
{{form-name-description model=model nameRequired=true }} {{form-user-labels initialLabels=labelResource.labels setLabels=(action 'setLabels') expandAll=expandAll expand=(action expandFn) }} {{form-engine-opts machine=model showEngineUrl=showEngineUrl }} {{top-errors errors=errors}} {{save-cancel save="save" cancel="cancel" editing=editing}} {{/if}} {{/accordion-list}}