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

7 lines
142 B
Text
Raw Normal View History

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