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

This commit is contained in:
Douwe Maan 2015-12-02 14:40:52 +01:00
parent 8d98245783
commit d0166334ba

View file

@ -85,14 +85,15 @@
%p
Changing your username will change path to all personal projects!
%div
.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"