From a06881ae180ee238aa065aa86efff96af9bb59f8 Mon Sep 17 00:00:00 2001 From: Ezekiel Kigbo Date: Mon, 6 May 2019 12:05:48 +0100 Subject: Fix alignment of help checkbox help text Added checkbox css classes --- app/views/profiles/preferences/show.html.haml | 12 ++++++------ 1 file 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 -- cgit v1.2.1