mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 16:14:01 +08:00
c80b5b718c
Followup to e2d9117378
, 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> |