gitlab-org--gitlab-foss/app/components/pajamas/toggle_component.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
433 B
Text
Raw Normal View History

%span{ class: @classes,
data: { name: @name,
id: @id,
is_checked: @is_checked.to_s,
disabled: @is_disabled.to_s,
is_loading: @is_loading.to_s,
label: @label,
help: @help,
label_position: @label_position,
**@data } }
-# Leverage this block to render a rich help text. To render a plain text help text,
-# prefer the `help` parameter.
- if content.present?
.gl-text-secondary.gl-mt-1
= content