summaryrefslogtreecommitdiff
path: root/app/views/shared/notifications/_custom_notifications.html.haml
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-05-31 19:20:46 +0000
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-05-31 19:20:46 +0000
commit1a6d848db725e8db0595b4d8b71afba2153445ae (patch)
treec1464f90d03c3a5404023fbb922888c007d744bf /app/views/shared/notifications/_custom_notifications.html.haml
parente57ad62d488b15b9e65ea63f4ab78e51336318a5 (diff)
downloadgitlab-ce-1a6d848db725e8db0595b4d8b71afba2153445ae.tar.gz
Fix checkbox/radio button structure
Diffstat (limited to 'app/views/shared/notifications/_custom_notifications.html.haml')
-rw-r--r--app/views/shared/notifications/_custom_notifications.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml
index d830225d169..51d912b4a66 100644
--- a/app/views/shared/notifications/_custom_notifications.html.haml
+++ b/app/views/shared/notifications/_custom_notifications.html.haml
@@ -23,8 +23,8 @@
- field_id = "#{notifications_menu_identifier("modal", notification_setting)}_notification_setting[#{event}]"
.form-group
.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))
+ = check_box("notification_setting", event, id: field_id, class: "js-custom-notification-event form-check-input", checked: notification_setting.public_send(event))
+ %label.form-check-label{ for: field_id }
%strong
= notification_event_name(event)
= icon("spinner spin", class: "custom-notification-event-loading")