Skip to content

Instantly share code, notes, and snippets.

@slave2zeros
Created September 23, 2009 06:29
Show Gist options
  • Save slave2zeros/191769 to your computer and use it in GitHub Desktop.
Save slave2zeros/191769 to your computer and use it in GitHub Desktop.
-form_for([@user, @article], :html => {:class => "addForm clearfix"}) do |f|
=f.label(:title)
=f.text_field(:title)
=f.label(:teaser)
=f.text_field(:teaser)
=f.text_area(:body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment