diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-05-06 12:05:48 +0100 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-05-06 16:10:16 +0100 |
commit | a06881ae180ee238aa065aa86efff96af9bb59f8 (patch) | |
tree | 2164d6f9d530aa0e13c20b5f456b89db28925b45 | |
parent | 1591507d55d0f5310993a6de94ab978db6a12763 (diff) | |
download | gitlab-ce-57654-add-time-preferences-for-user-fe.tar.gz |
Fix alignment of help checkbox help text57654-add-time-preferences-for-user-fe
Added checkbox css classes
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 86723308089..58f2eb229ba 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -91,21 +91,21 @@ .col-lg-8 .form-group %h5= s_('Preferences|Time format') - .checkbox-icon-inline-wrapper + .checkbox-icon-inline-wrapper.form-check - time_format_label = capture do = s_('Preferences|Display time in 24-hour format') - = f.check_box :time_format_in_24h + = f.check_box :time_format_in_24h, class: 'form-check-input' = f.label :time_format_in_24h do = time_format_label %h5= s_('Preferences|Time display') - .checkbox-icon-inline-wrapper + .checkbox-icon-inline-wrapper.form-check - time_display_label = capture do = s_('Preferences|Use relative times') - = f.check_box :time_display_relative + = f.check_box :time_display_relative, class: 'form-check-input' = f.label :time_display_relative do = time_display_label - .form-text.text-muted - = s_('Preferences|For example: 30 mins ago.') + .text-muted + = s_('Preferences|For example: 30 mins ago.') .col-lg-4.profile-settings-sidebar .col-lg-8 .form-group |