Skip to content

Instantly share code, notes, and snippets.

@giddie
Created August 3, 2010 09:43
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 giddie/506117 to your computer and use it in GitHub Desktop.
Save giddie/506117 to your computer and use it in GitHub Desktop.
= semantic_form_for @user, :html => {:class => 'pretty'} do |f|
= f.inputs do
= f.input :email
= f.input :name
= f.input :password
= f.input :password_confirmation
= f.input :roles, :as => :check_boxes, :label_method => :description, |
:required => true |
= f.buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment