diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:40:52 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:41:57 +0100 |
commit | d0166334ba9997b5eed89d6f54c99f7bfbe9c816 (patch) | |
tree | aa3dda7930ef35251087dd4868b2040e72f53515 /app/views/profiles/accounts | |
parent | 8d98245783832a4d6617fb7076343469918ed273 (diff) | |
download | gitlab-ce-d0166334ba9997b5eed89d6f54c99f7bfbe9c816.tar.gz |
Add `http://gitlab.example.com/u/` prefix to "Change username" field.
Diffstat (limited to 'app/views/profiles/accounts')
-rw-r--r-- | app/views/profiles/accounts/show.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index 2fd65cc9944..319bdd57c39 100644 --- a/app/views/profiles/accounts/show.html.haml +++ b/app/views/profiles/accounts/show.html.haml @@ -85,14 +85,15 @@ %p Changing your username will change path to all personal projects! %div - = f.text_field :username, required: true, class: 'form-control' + .input-group + .input-group-addon + = "#{root_url}u/" + = f.text_field :username, required: true, class: 'form-control' .loading-gif.hide %p = icon('spinner spin') Saving new username - %p.light - = user_url(@user) .form-actions = f.submit 'Save username', class: "btn btn-warning" |