summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-11 23:08:47 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-16 12:52:27 -0400
commit2797daade9cbdd85ed05a3a0d2b4f26989bc6744 (patch)
treefd0184b24bc33a4a6d6eca519b5645cea71623b9
parentba60b742e1dbb367c87a73cc4d6910760cf0f317 (diff)
downloadgitlab-ce-2797daade9cbdd85ed05a3a0d2b4f26989bc6744.tar.gz
Fix alignment of Behavior form; add documentation link
cherry-picked
-rw-r--r--app/views/profiles/preferences/show.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index db4d1dbe2ae..4cae8e61e7a 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