mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 18:23:43 +08:00
c3fd91670e
Re-lands #16119 and #17298 * Update eslint-config-discourse * Update linting workflow * Prettier-ignore stuff * Update template-lint config * Auto-fix template issues * Fix various template issues Mostly incorrect attributes and unused templates * Prettier js files * Fix template auto-fix regressions * Small css tweak Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
12 lines
377 B
Handlebars
12 lines
377 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>
|