debian-mirror-gitlab/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

2022-05-07 20:08:51 +05:30
%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