Skip to content

Instantly share code, notes, and snippets.

@stefanpenner
Created December 29, 2008 02:47
Show Gist options
  • Save stefanpenner/41146 to your computer and use it in GitHub Desktop.
Save stefanpenner/41146 to your computer and use it in GitHub Desktop.
- fields_for "financial_plan[goal_attributes][]",goal do |form|
- @goal = goal
= error_messages_for :goal
.text_field
= form.label :months
= form.text_field :months, :class => 'text'
.text_field
= form.label :description
= form.text_field :description, :class => 'text'
.text_field
= form.label :amount
= form.text_field :amount, :class => 'text'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment