{{i18n admin.badges.title}}

{{#if selectedItem}} {{#with selectedItem controller='adminBadge'}}
{{input type="text" name="name" value=name disabled=readOnly}}
{{#if 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" disabled=readOnly}}
{{#if controller.canEditDescription}} {{textarea name="description" value=description}} {{else}} {{textarea name="description" value=translatedDescription disabled=true}} {{/if}}
{{#unless readOnly}}
{{input type="checkbox" checked=allow_title}} {{i18n admin.badges.allow_title}}
{{savingStatus}} {{i18n admin.badges.delete}}
{{/unless}}
{{/with}} {{/if}}