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

6 lines
142 B
Text

- if @user.valid?
:plain
$('.update-username .update-success').show();
- else
:plain
$('.update-username .update-failed').show();