discourse/app/assets/javascripts/admin/templates/components/embedding-setting.hbs

12 lines
309 B
Handlebars
Raw Normal View History

{{#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=placeholderValue}}
{{/if}}
<div class='clearfix'></div>