Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-12 06:08:47 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-14 00:59:13 +0300
commitd0463d2c6a275559f187df4b45e1e62aaffe4ec9 (patch)
tree7d732499c6abf325cf4081289e5b446c3889b1e1 /app/views/profiles/preferences
parent13d9544d5de831794c0a7647203e26df3b6b9471 (diff)
Fix alignment of Behavior form; add documentation link
Diffstat (limited to 'app/views/profiles/preferences')
-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 547977596f5..073e8f22aac 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
@@ -33,7 +33,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