gitlab-org--gitlab-foss/app/views/profiles/update_username.js.haml

7 lines
186 B
Plaintext
Raw Normal View History

- if @user.valid?
:plain
2013-10-09 13:37:37 +00:00
new Flash("Username sucessfully changed", "notice")
- else
:plain
2013-10-09 13:37:37 +00:00
new Flash("Username change failed - #{@user.errors.full_messages.first}", "alert")