Skip to content

Instantly share code, notes, and snippets.

@mdeering
Created June 22, 2010 18:06
Show Gist options
  • Save mdeering/448833 to your computer and use it in GitHub Desktop.
Save mdeering/448833 to your computer and use it in GitHub Desktop.
- translating_form_for resource, :url => user_recommendations_url(user) do |form|
= form.error_message_on :base
= form.radio :canine, [ true, false ]
= form.radio :therapeutic_diet, [ true, false ]
= form.collection_select :condition_id, conditions, :id, :name, :prompt => true
= form.collection_select :sub_condition_id, sub_conditions, :id, :name, :prompt => true
= form.collection_select :family_id, families, :id, :name, :prompt => true
= form.submit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment