mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 04:33:45 +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> |