mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 17:48:44 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
12 lines
379 B
Handlebars
12 lines
379 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>
|