How can I write a form in the view which calls a controller method I've defined? Also, I want to pass a parameter to the method. I want to do something like this, where I have defined the method How can I write a form in the view which calls
How can I write a form in the view which calls a controller method I've defined? Also, I want to pass a parameter to the method. I want to do something like this, where I have defined the method How can I write a form in the view which calls