Skip to content

Instantly share code, notes, and snippets.

@justinfrench
Forked from Ferdev/_form.html.haml
Created September 29, 2010 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinfrench/603775 to your computer and use it in GitHub Desktop.
Save justinfrench/603775 to your computer and use it in GitHub Desktop.
= semantic_form_for @pet do |form|
= form.inputs do
= form.input :animal
= form.input :diseases, :as => :check_boxes, :value_as_class => true
= form.buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment