Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

button_submit to form builder #5

Open
austvik opened this issue Apr 19, 2011 · 1 comment
Open

button_submit to form builder #5

austvik opened this issue Apr 19, 2011 · 1 comment
Labels

Comments

@austvik
Copy link

austvik commented Apr 19, 2011

Hi.

A small feature request:

Please add something like button_submit, which looks like "submit (ActionView::Helpers::FormBuilder)". The nice thing with it is that it sets the caption (update/create) depending on whether or not the form updates or creates a new model object.

@thetron
Copy link
Owner

thetron commented Apr 20, 2011

This is definitely something I had wanted to add from the start, however the problem is that it is not easy to implement support for custom form builders like simple_form and formtastic.

I noticed over on the nested_form issue tracker they're discussing the same/similar problem, I'll keep an eye on that thread too, in case they come up with a good solution.

I'll have a bit of a think about possible solutions though, but definitely open to any ideas that might help tackle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants