mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:24:34 +08:00
14 lines
270 B
Handlebars
14 lines
270 B
Handlebars
<div class="form-element label-area">
|
|
{{#if this.label}}
|
|
<label>{{i18n this.label}}</label>
|
|
{{else}}
|
|
|
|
{{/if}}
|
|
</div>
|
|
<div class="form-element input-area">
|
|
{{#if this.wrapLabel}}
|
|
<label>{{yield}}</label>
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</div> |