mirror of
https://github.com/discourse/discourse.git
synced 2024-12-10 10:33:39 +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> |