diff options
| author | Xinhui | 2016-10-13 15:53:13 +0200 | 
|---|---|---|
| committer | Xinhui | 2016-10-13 15:53:13 +0200 | 
| commit | e55be719d1f65f518a63ba65cf443d2d49c291bb (patch) | |
| tree | e48e74df5c8eba2c268523944eba615d4be8d5aa /app/views/users | |
| parent | bc0aac368cb705120aa8ac659e1e826108a17b04 (diff) | |
| download | chouette-core-e55be719d1f65f518a63ba65cf443d2d49c291bb.tar.bz2 | |
Display username users#show
Refs #1762
Diffstat (limited to 'app/views/users')
| -rw-r--r-- | app/views/users/show.html.slim | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/app/views/users/show.html.slim b/app/views/users/show.html.slim index f884ae94e..858aa3395 100644 --- a/app/views/users/show.html.slim +++ b/app/views/users/show.html.slim @@ -4,7 +4,9 @@    p      label = "#{User.human_attribute_name('name')} : "      = @user.name - +  p +    label = "#{User.human_attribute_name('username')} : " +    = @user.username    p      label = "#{User.human_attribute_name('email')} : "      = @user.email @@ -16,4 +18,4 @@        li          = link_to( t('users.actions.edit'), edit_user_registration_path, class: "edit") if @user == current_user        li -        = link_to t('users.actions.destroy'), organisation_user_path(@user), method: :delete, data: {:confirm => t('users.actions.destroy_confirm')}, class: "remove"
\ No newline at end of file +        = link_to t('users.actions.destroy'), organisation_user_path(@user), method: :delete, data: {:confirm => t('users.actions.destroy_confirm')}, class: "remove" | 
