label needs a span to contain nested HTML in description

This commit is contained in:
Kris 2018-10-01 13:42:35 -04:00
parent 1897155479
commit eeffac3186
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<label class="control-label" for="{{concat 'user-' elementId}}">{{{field.name}}}</label>
<div class='controls'>
<label class="control-label checkbox-label">{{input id=(concat 'user-' elementId) checked=value type="checkbox"}} {{{field.description}}}</label>
<label class="control-label checkbox-label">{{input id=(concat 'user-' elementId) checked=value type="checkbox"}} <span>{{{field.description}}}</span></label>
</div>