Nurse resigns over tweets