9 lines
340 B
Text
9 lines
340 B
Text
.fr-toggle.fr-toggle--label-left
|
|
= @form.check_box @target, class: 'fr-toggle__input', disabled: @disabled,
|
|
data: @opt
|
|
= @form.label @target,
|
|
@title,
|
|
data: { 'fr-checked-label': toggle_labels[:checked], 'fr-unchecked-label': toggle_labels[:unchecked] },
|
|
class: 'fr-toggle__label'
|
|
- if @hint
|
|
%p.fr-hint-text= @hint
|