diff options
author | Ruben Davila <rdavila84@gmail.com> | 2017-04-13 07:23:02 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-04-13 07:23:02 +0300 |
commit | bd86796dd0edae7e5db2bfbb887d3196498ebd49 (patch) | |
tree | 512f500bf4205de786d4cc6377cec51cff39a8fc /app/views/profiles/show.html.haml | |
parent | acc807cd30a4b0005b552d67583b20538474a1f2 (diff) |
Add support to change language in profile form
Diffstat (limited to 'app/views/profiles/show.html.haml')
-rw-r--r-- | app/views/profiles/show.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml index c74b3249a13..dc71a04cbf0 100644 --- a/app/views/profiles/show.html.haml +++ b/app/views/profiles/show.html.haml @@ -73,6 +73,9 @@ = 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 :preferred_language, class: "label-light" + = f.select :preferred_language, Gitlab::I18n::AVAILABLE_LANGUAGES, {}, class: "select2" + .form-group = f.label :skype, class: "label-light" = f.text_field :skype, class: "form-control" .form-group |