{{i18n admin.badges.title}}

{{#if selectedItem}} {{#with selectedItem}}
{{input type="text" name="name" value=name}}
{{#if controller.showDisplayName}}
{{i18n admin.badges.display_name}} {{displayName}}
{{/if}}
{{view Ember.Select name="badge_type_id" value=badge_type_id content=controller.badgeTypes optionValuePath="content.id" optionLabelPath="content.name"}}
{{#if controller.canEditDescription}} {{textarea name="description" value=description}} {{else}} {{textarea name="description" value=translatedDescription disabled=true}} {{/if}}
{{savingStatus}} {{i18n admin.badges.delete}}
{{/with}} {{/if}}