mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
12 lines
304 B
Handlebars
12 lines
304 B
Handlebars
{{#if isCheckbox}}
|
|
<label for={{inputId}}>
|
|
{{input checked=checked id=inputId type="checkbox"}}
|
|
{{i18n translationKey}}
|
|
</label>
|
|
{{else}}
|
|
<label for={{inputId}}>{{i18n translationKey}}</label>
|
|
{{input value=value id=inputId placeholder=placeholder}}
|
|
{{/if}}
|
|
|
|
<div class='clearfix'></div>
|