form handlers template