Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

button_to in form doesn't allow to override path or method #14322

mtobias opened this Issue Mar 8, 2014 · 2 comments


None yet
3 participants

mtobias commented Mar 8, 2014

I have a button_to in a form. I want to customize the path and method for it, but these options are ignored.

Have you verified the html output? You cannot have a form inside another, the browser will submit the outermost form rather than the inner one as you expect. If that's not your problem please post code examples that show your issue, otherwise it's nearly impossible for us to help. Thanks.

@senny senny added the needs feedback label Mar 8, 2014

mtobias commented Mar 8, 2014

woops. you're right! thanks

@mtobias mtobias closed this Mar 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment