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

form generator is missing outer block #491

Closed
corroded opened this issue Jan 21, 2011 · 3 comments
Closed

form generator is missing outer block #491

corroded opened this issue Jan 21, 2011 · 3 comments

Comments

@corroded
Copy link

doing this:

rails generate formtastic:form User --partial --haml

results to just

  • f.inputs etc etc

shouldn't that input be wrapped in a = semantic_form_for @user do?

that way you can generate form partials without havign to edit them(if you plan on just doing quick generation) right?

@justinfrench
Copy link
Member

Completely agree, didn't write the original version but I've been making some changes in the v2 branch, and this is on my list.

@justinfrench
Copy link
Member

Resolved in the v2 branch, will be in 2.0. Closing.

@corroded
Copy link
Author

thanks man!

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

No branches or pull requests

2 participants