You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2018. It is now read-only.
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This will make the code more readable. Also, using a form partial, it can be easily re-generated when something changes in the model.
The text was updated successfully, but these errors were encountered: