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