Skip to content

Instantly share code, notes, and snippets.

@rdavila
Created October 18, 2012 17:15
Show Gist options
  • Save rdavila/3913411 to your computer and use it in GitHub Desktop.
Save rdavila/3913411 to your computer and use it in GitHub Desktop.
= form_for :game do |f|
%p
= f.label :name
= f.text_field :name
%p
- @consoles.each do |console|
= console.name
= text_field_tag "game[console_prices][#{console.id}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment