Add method attribute to form