1 2 3
= user_form_with 'login_and_password_fields', :legend => :update_login_and_password if @user == current_user = render 'cancel_account'