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

15 lines
256 B
Handlebars

<div class="form-element label-area">
{{#if label}}
<label>{{i18n label}}</label>
{{else}}
&nbsp;
{{/if}}
</div>
<div class="form-element input-area">
{{#if wrapLabel}}
<label>{{yield}}</label>
{{else}}
{{yield}}
{{/if}}
</div>