mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:26:04 +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>
|