adds the form method to the diazo handling