Add method,action attr to form