- if @user.valid? jQuery('#create_user_arrow').html(crm.COLLAPSED); jQuery('#create_user_title').html('#{t(:users)}'); jQuery('#create_user').slideUp(250); jQuery('#users').prepend('#{ j (render :partial => "user", :collection => [ @user ]) }'); jQuery('##{dom_id(@user)}').effect("highlight", { duration:1500 }); - else jQuery('#create_user').html('#{ j (render :partial => "new") }'); jQuery('#create_user').effect("shake", { duration:250, distance: 6 }); jQuery('#group_username').focus();