mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
c80b5b718c
Followup to e2d9117378ead0dbfcc6533d7cf6a7bf8a14d033, which made these labels bold because they were missing the correct class.
18 lines
426 B
Handlebars
18 lines
426 B
Handlebars
<div class="form-element label-area">
|
|
{{#if this.label}}
|
|
<label
|
|
class={{concat-class (if (eq @type "checkbox") "checkbox-label")}}
|
|
>{{i18n this.label}}</label>
|
|
{{else}}
|
|
|
|
{{/if}}
|
|
</div>
|
|
<div class="form-element input-area">
|
|
{{#if this.wrapLabel}}
|
|
<label
|
|
class={{concat-class (if (eq @type "checkbox") "checkbox-label")}}
|
|
>{{yield}}</label>
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</div> |