Commit d0166334 authored by Douwe Maan's avatar Douwe Maan

Add `http://gitlab.example.com/u/` prefix to "Change username" field.

parent 8d982457
...@@ -85,14 +85,15 @@ ...@@ -85,14 +85,15 @@
%p %p
Changing your username will change path to all personal projects! Changing your username will change path to all personal projects!
%div %div
.input-group
.input-group-addon
= "#{root_url}u/"
= f.text_field :username, required: true, class: 'form-control' = f.text_field :username, required: true, class: 'form-control'
   
.loading-gif.hide .loading-gif.hide
%p %p
= icon('spinner spin') = icon('spinner spin')
Saving new username Saving new username
%p.light
= user_url(@user)
.form-actions .form-actions
= f.submit 'Save username', class: "btn btn-warning" = f.submit 'Save username', class: "btn btn-warning"
......
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