mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:58:34 +08:00
15 lines
256 B
Handlebars
15 lines
256 B
Handlebars
<div class='form-element label-area'>
|
|
{{#if label}}
|
|
<label>{{i18n label}}</label>
|
|
{{else}}
|
|
|
|
{{/if}}
|
|
</div>
|
|
<div class='form-element input-area'>
|
|
{{#if wrapLabel}}
|
|
<label>{{yield}}</label>
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</div>
|