mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
Followup to 336dd2a9e3, 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> |