add formOfAction to singleAppointmentView