gitlabhq/app/views/profiles/update_username.js.haml

7 lines
142 B
Plaintext

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