Fix alignment of Behavior form; add documentation link

This commit is contained in:
Robert Speicher 2015-06-11 23:08:47 -04:00
parent 13d9544d5d
commit d0463d2c6a

View file

@ -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