Permalink
Browse files

Changed formastic to formtastic in README

  • Loading branch information...
1 parent 37a5bf5 commit 691f947b7abf8ad65a7c27e2153c7cd3435390c9 @rahult rahult committed with Dec 24, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.textile
View
@@ -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 691f947

Please sign in to comment.