discourse/app/assets/javascripts/admin/addon/components/admin-form-row.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
426 B
Handlebars
Raw Normal View History

<div class="form-element label-area">
{{#if this.label}}
<label
class={{concat-class (if (eq @type "checkbox") "checkbox-label")}}
>{{i18n this.label}}</label>
{{else}}
&nbsp;
{{/if}}
</div>
<div class="form-element input-area">
{{#if this.wrapLabel}}
<label
class={{concat-class (if (eq @type "checkbox") "checkbox-label")}}
>{{yield}}</label>
{{else}}
{{yield}}
{{/if}}
</div>