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

14 lines
239 B
Handlebars

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