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

7 lines
186 B
Text
Raw Normal View History

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