{{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=displayDescription disabled=true}} {{/if}}
{{input type="checkbox" checked=allow_title disabled=readOnly}} {{i18n admin.badges.allow_title}}
{{input type="checkbox" checked=multiple_grant disabled=readOnly}} {{i18n admin.badges.multiple_grant}}
{{#unless readOnly}}
{{savingStatus}} {{i18n admin.badges.delete}}
{{/unless}}
{{/with}} {{/if}}