mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 20:43:50 +08:00
15 lines
390 B
Handlebars
15 lines
390 B
Handlebars
{{#if this.isCheckbox}}
|
|
<label for={{this.inputId}}>
|
|
<Input @checked={{this.checked}} id={{this.inputId}} @type="checkbox" />
|
|
{{i18n this.translationKey}}
|
|
</label>
|
|
{{else}}
|
|
<label for={{this.inputId}}>{{i18n this.translationKey}}</label>
|
|
<Input
|
|
@value={{this.value}}
|
|
id={{this.inputId}}
|
|
placeholder={{this.placeholder}}
|
|
/>
|
|
{{/if}}
|
|
|
|
<div class="clearfix"></div> |