{{i18n 'admin.wizard.custom_fields.nav_label'}}
{{d-button
label="add"
icon="plus"
action="addField"}}
{{#if model}}
{{#each fieldKeys as |key|}}
{{i18n (concat "admin.wizard.custom_fields." key)}} |
{{/each}}
{{#each customFields as |field|}}
{{#if field.new}}
{{combo-box value=field.klass content=classes onChange=(action (mut field.klass))}} |
{{input value=field.name}} |
{{combo-box value=field.type content=types onChange=(action (mut field.type))}} |
{{else}}
{{#each-in field as |k v|}}
{{v}} |
{{/each-in}}
{{/if}}
{{/each}}
{{/if}}