From 2797daade9cbdd85ed05a3a0d2b4f26989bc6744 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Thu, 11 Jun 2015 23:08:47 -0400 Subject: [PATCH] Fix alignment of Behavior form; add documentation link cherry-picked --- app/views/profiles/preferences/show.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index db4d1dbe2a..4cae8e61e7 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -7,7 +7,7 @@ access the site. %hr -= form_for @user, url: profile_preferences_path, remote: true, method: :put, html: {class: 'js-preferences-form'} do |f| += form_for @user, url: profile_preferences_path, remote: true, method: :put, html: {class: 'js-preferences-form form-horizontal'} do |f| .panel.panel-default.application-theme .panel-heading Application theme @@ -60,7 +60,9 @@ Behavior .panel-body .form-group - = f.label :dashboard, 'Default Dashboard', class: 'control-label' + = f.label :dashboard, class: 'control-label' do + Default Dashboard + = link_to('(?)', help_page_path('profile', 'preferences') + '#default-dashboard', target: '_blank') .col-sm-10 = f.select :dashboard, dashboard_choices, {}, class: 'form-control' %p.help-block.hint