BigW Consortium Gitlab

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