Commit 72430ae9 authored by Riccardo Padovani's avatar Riccardo Padovani

#33461: Display own user id in account settings page

parent 0037cf63
...@@ -42,11 +42,18 @@ ...@@ -42,11 +42,18 @@
- if current_user.ldap_user? - if current_user.ldap_user?
Some options are unavailable for LDAP accounts Some options are unavailable for LDAP accounts
.col-lg-9 .col-lg-9
.form-group .row
.form-group.col-md-9
= f.label :name, class: "label-light" = f.label :name, class: "label-light"
= f.text_field :name, class: "form-control", required: true = f.text_field :name, class: "form-control", required: true
%span.help-block Enter your name, so people you know can recognize you. %span.help-block Enter your name, so people you know can recognize you.
.form-group.col-md-3
= f.label :id, class: 'label-light' do
User ID
= f.text_field :id, class: 'form-control', readonly: true
.form-group .form-group
= f.label :email, class: "label-light" = f.label :email, class: "label-light"
- if @user.external_email? - if @user.external_email?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment