A 28-year-old Wigan woman has admitted to attacking a man at a seaside resort.