Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Convert Forms to Formtastic #9

Open
moonglum opened this issue Oct 17, 2011 · 1 comment
Open

Convert Forms to Formtastic #9

moonglum opened this issue Oct 17, 2011 · 1 comment
Milestone

Comments

@moonglum
Copy link
Member

This will make the code more readable. Also, using a form partial, it can be easily re-generated when something changes in the model.

@moonglum
Copy link
Member Author

From our old guidelines:

To create forms, we use Formtastic. So create your model including migrations and then run rails g formtastic:form MODELNAME --haml --partial, so the generated partial file will be written in haml Syntax. For more information on the Syntax, go to the github page. If you change your model later on, just run the command again and only the partial for the form will be updated.

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

No branches or pull requests

1 participant