BigW Consortium Gitlab

update_username.js.haml 187 Bytes
Newer Older
1 2
- if @user.valid?
  :plain
3
    new Flash("Username successfully changed", "notice")
4 5
- else
  :plain
6
    new Flash("Username change failed - #{@user.errors.full_messages.first}", "alert")