Fixed method_decorator to deal with form data