{{#if this.isCreating}}
{{#each @model.createFields as |attr index|}}
{{#if (eq index 2)}}
Provider configuration
{{#if @model.provider}}
{{! Only show last field if provider selected }}
{{else}}
{{/if}}
{{else}}
{{/if}}
{{/each}}
{{/if}}
{{#unless this.isCreating}}
New credentials
Old credentials cannot be read and will be lost as soon as new ones are added. Do this carefully.
{{/unless}}
{{#each @model.credentialFields as |cred|}}
{{/each}}