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 @@
%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"
......
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