diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:05:57 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:05:57 -0500 |
commit | df8aa61a94b8e70526fb78aed75ada1e390c7ce1 (patch) | |
tree | 0c0d0183cc38bbd815eb1d3c2f271d2481d41589 /app/views/shared/notifications | |
parent | b95d76d217ad5a99093c2e10ac4a9289200dad48 (diff) | |
download | gitlab-ce-df8aa61a94b8e70526fb78aed75ada1e390c7ce1.tar.gz |
[skip ci] Convert .checkbox to .form-check
Diffstat (limited to 'app/views/shared/notifications')
-rw-r--r-- | app/views/shared/notifications/_custom_notifications.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml index 9186c2ba9c9..d830225d169 100644 --- a/app/views/shared/notifications/_custom_notifications.html.haml +++ b/app/views/shared/notifications/_custom_notifications.html.haml @@ -22,7 +22,7 @@ - NotificationSetting::EMAIL_EVENTS.each_with_index do |event, index| - field_id = "#{notifications_menu_identifier("modal", notification_setting)}_notification_setting[#{event}]" .form-group - .checkbox{ class: ("prepend-top-0" if index == 0) } + .form-check{ class: ("prepend-top-0" if index == 0) } %label{ for: field_id } = check_box("notification_setting", event, id: field_id, class: "js-custom-notification-event", checked: notification_setting.public_send(event)) %strong |