Use select2 instead of regular selectbox for profile public email
This commit is contained in:
parent
dccc227754
commit
cdd4c331b3
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
.form-group
|
||||
= f.label :public_email, class: "control-label"
|
||||
.col-sm-10
|
||||
= f.select :public_email, options_for_select(@user.all_emails, selected: @user.public_email), {include_blank: 'Do not show in profile'}, class: "form-control"
|
||||
= f.select :public_email, options_for_select(@user.all_emails, selected: @user.public_email), {include_blank: 'Do not show on profile'}, class: "select2"
|
||||
%span.help-block This email will be displayed on your public profile.
|
||||
.form-group
|
||||
= f.label :skype, class: "control-label"
|
||||
|
|
Loading…
Reference in a new issue