From 97cf1347d5e2d9cd9cd22a9fc032aa6b07f3c710 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Tue, 11 Aug 2015 13:45:47 +0930 Subject: [PATCH] Fix clickable area for checkboxes in email editing --- .../registrations/_edit_email.html.haml | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/app/views/devise/registrations/_edit_email.html.haml b/app/views/devise/registrations/_edit_email.html.haml index 1ea863e2a..a44fbc3c8 100644 --- a/app/views/devise/registrations/_edit_email.html.haml +++ b/app/views/devise/registrations/_edit_email.html.haml @@ -9,24 +9,28 @@ %span.help-block If you change your email address you will have to reconfirm. .form-group - .col-md-offset-2.col-md-8 - = f.check_box :show_email - Show email publicly on your profile page. + .col-md-offset-2.col-md-8.checkbox + %label + = f.check_box :show_email + Show email publicly on your profile page. .form-group - .col-md-offset-2.col-md-8 - = f.check_box :send_notification_email - Receive emailed copies of Inbox notifications (eg. private messages). + .col-md-offset-2.col-md-8.checkbox + %label + = f.check_box :send_notification_email + Receive emailed copies of Inbox notifications (eg. private messages). .form-group - .col-md-offset-2.col-md-8 - = f.check_box :send_planting_reminder - Receive regular reminders to track your planting and harvesting. + .col-md-offset-2.col-md-8.checkbox + %label + = f.check_box :send_planting_reminder + Receive regular reminders to track your planting and harvesting. .form-group - .col-md-offset-2.col-md-8 - = f.check_box :newsletter - Subscribe to the #{ENV['GROWSTUFF_SITE_NAME']} newsletter + .col-md-offset-2.col-md-8.checkbox + %label + = f.check_box :newsletter + Subscribe to the #{ENV['GROWSTUFF_SITE_NAME']} newsletter .help-block = render :partial => 'newsletter_blurb'