gitlab-org--gitlab-foss/app/views/profiles/update_username.js.haml
2016-09-15 19:27:49 -07:00

6 lines
187 B
Text

- if @user.valid?
:plain
new Flash("Username successfully changed", "notice")
- else
:plain
new Flash("Username change failed - #{@user.errors.full_messages.first}", "alert")