Skip to content
Browse files

Changed formastic to formtastic in README

  • Loading branch information...
1 parent f2a9ff4 commit f7e2c87d94bc0ae72cc8b1837814aaa07ba9d6f7 @rahult rahult committed with justinfrench Dec 24, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.textile
View
6 README.textile
@@ -563,23 +563,23 @@ h3. Generating a partial with @--partial@
You can also ask Formtastic to *generate a partial* with the @--partial@ option, placing it in the correct location inside your @app/views@ directory:
<pre>
- $ rails generate formastic:form Post --partial
+ $ rails generate formtastic:form Post --partial
exists app/views/posts
create app/views/posts/_form.html.erb
</pre>
h3. Specifying HAML instead of ERB with @--haml@
<pre>
- $ rails generate formastic:form Post --haml
+ $ rails generate formtastic:form Post --haml
exists app/views/admin/posts
create app/views/admin/posts/_form.html.haml
</pre>
h3. Specifying controller namespace with @--controller@
<pre>
- $ rails generate formastic:form Post --partial --controller admin/posts
+ $ rails generate formtastic:form Post --partial --controller admin/posts
exists app/views/admin/posts
create app/views/admin/posts/_form.html.erb
</pre>

0 comments on commit f7e2c87

Please sign in to comment.
Something went wrong with that request. Please try again.